Questions tagged by "curl"


0
 bounty
0
answers
Error: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set
10 years ago • lampego1@qrid
If you have a cURL script that tries to use CURLOPT_FOLLOWLOCATION you might get the following error: Warning: curlsetopt() [function.curl-setopt]: CURLOPTFOLLOWLOCATION cannot be activated when in safemode or an openbasedir is set in /home/username/public_html/path/to/script.php on line xxx open_basedir is enabled on all shared servers as it is essential to proper server security. The vast majority of the time a programmer will set this opt
Tags: ,
1 from 1