【发布时间】:2012-05-05 19:33:12
【问题描述】:
我想运行带有 curl 的 php 脚本。
但以下功能被 php.ini 禁用:
exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source
我在 php.ini 中更改了以下行:
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,show_source
在 ssh 上运行 service httpd restart 命令,但是当我运行phpinfo() 函数时,它会显示 curl_exec 和 curl_multi_exec 再次被禁用。
问题出在哪里,我应该如何解决?
【问题讨论】: