curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
当系统开启safe_mode和open_basedir,在程序中使用以下语句curl_setopt($curl,CURLOPT_FOLLOWLOCATION,1);并且遇到301,302状态吗时会出现错误[11-Oct-201014:17:41]PHPWarning:curl_setopt():CURLOPT_FOLLOWLOCATIONcannotbeactivatedwheninsafe_mo