启用safe_mode时无法激活CURLOPT_FOLLOWLOCATION [英] CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled

查看:68
本文介绍了启用safe_mode时无法激活CURLOPT_FOLLOWLOCATION的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何解决此问题,但出现以下错误消息

how can i solve this problem i got the below error message

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/a7263856/public_html/alfa.curl.class.php on line 109

推荐答案

我没有遇到此错误,但我只需要投入2美分.看看您是否启用了安全功能模式在您的PHP设置中.禁用它,运行您的PHP脚本,看看是否有任何改变.
I haven''t come across this error but I''ll just put my 2 cents in. See if you have enabled safe mode in your PHP settings. Disable it, run your PHP script and see if that changes anything.


这篇关于启用safe_mode时无法激活CURLOPT_FOLLOWLOCATION的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆