【发布时间】:2011-08-15 09:28:08
【问题描述】:
我正在使用 PHP 5.3 运行 Ubuntu 10.04 VPS 服务器。 我收到一条错误消息,提示 curl 在安全模式下无法使用,并且 open_basedir 已激活
Severity: Warning
Message: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Filename: libraries/Curl.php
Line Number: 213
如何禁用安全模式和 open_basedir?
感谢大家的帮助!
【问题讨论】:
标签: ubuntu-10.04 open-basedir safe-mode