Error: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set
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 ...