Page 1 of 1

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

PostPosted: Wed Dec 24, 2008 12:37 pm
by Martin
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

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

PostPosted: Wed Feb 11, 2009 3:04 pm
by Branze
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.