Simply, as long as either open_basedir or safe_mode is enabled in the php.ini file, the CURLOPT_FOLLOWLOCATION configuration cannot be used. To change those settings, I can only give general notes:
- SSH to the server
- cd to the directory (usually /etc/php5 on linux, depends on your distribution or OS) that contains php.ini
- sudo to edit (eg,
sudo nano php.ini).
- edit the lines that specify open_basedir or safe_mode and either turn them off.
Remember to restart your httpd afterwards!