Error : CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled

Started by Dipak Bhoi, March 30, 2014, 07:34:16 PM

Previous topic - Next topic

Dipak Bhoi

Hi guys,

After installing and configuring Curl on server I was receiving following error.

QuoteError : CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled

After investigating a bit on it I found that, It was a problem with  PHP Safe Mode which is on on server.
To screw this error,  Add the code below in .htaccess file for the account safe_mode should be set to Off.

Quotephp_flag safe_mode off

Now it is all working fine.

Enjoy !!!

MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.