FTP cURL problem caused by SAFE MODE setting???
Posted: Sat Dec 30, 2006 10:28 am
I am getting this error on a client server...SAFE MODE is OFF...however open_basedir is set to the following: /home/lgadmin/:/usr/lib/php:/usr/local/lib/php:/tmp
Error:
Code:
I've read the docs on open_basedir, etc...but it doesn't say anything about cURL functions not working with SAFE MODE on or when open_basedir, etc...
What the heck? Any ideas? It's a shared host so I'm limited in what I can do with the server...
Cheers
Error:
Code: Select all
CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an
open_basedir is set in /home/lgadmin/public_html/temp/index.php on line
1866Code: Select all
if (function_exists('curl_init')) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);What the heck? Any ideas? It's a shared host so I'm limited in what I can do with the server...
Cheers