Php Curl Error

Discussion in 'PHP' started by CemoKa, Sep 16, 2009.

  1. CemoKa

    CemoKa New Member

    Hi,

    I need to use CURLOPT_FOLLOWLOCATION option true with CURL, But I get error


    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/mysite/public_html/mybot/dene.php on line 5

    I tried to set open_basedir in httd.conf etc. But still I got this error.
  2. mistwang

    mistwang LiteSpeed Staff

    You may need to turn off open_basedir or safe_mode, it is a PHP internal limitation.

Share This Page