Warning: curl_setopt()
[function.curl-setopt]:
CURLOPT_FOLLOWLOCATION cannot be
activated when in safe_mode or an
open_basedir is set in
/home/path/curl.php on line 594
I don’t have access to php.ini. Can this be fixed without editing php.ini?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See this comment in the manual. It provides an ugly workaround. I believe this restriction is effect because of a bug in the curl library where it would follow redirects to local resources, but that should be fixed by now, so I see no reason for this restriction.