MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: Error : CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled  (Read 3046 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
Hi guys,

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

Quote
Error : 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.

Quote
php_flag safe_mode off

Now it is all working fine.

Enjoy !!!

MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum