PHP, cURL, CURLOPT FOLLOWLOCATION and open basedir/Safe Mode

Best place to discuss your web development related issues and suggessions and codings

PHP, cURL, CURLOPT FOLLOWLOCATION and open basedir/Safe Mode

Postby Martin » Wed Dec 24, 2008 12:37 pm

I am getting the below error while executing the curl function in my server.

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set

Please help me how to solve the issue.

-- Marin
User avatar
Martin
Iorn
Iorn
 
Posts: 20
Joined: Fri Dec 19, 2008 8:35 am

Re: PHP, cURL, CURLOPT FOLLOWLOCATION and open basedir/Safe Mode

Postby Branze » Wed Feb 11, 2009 3:04 pm

cURL, CURLOPT FOLLOWLOCATION and open basedir/Safe Mode

for this issue you have to fist check the safe_mode is off only open_basedir is activated.
User avatar
Branze
Iorn
Iorn
 
Posts: 3
Joined: Wed Feb 11, 2009 3:02 pm


Return to Web Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron