php.ini不允许我使用disable_functions

时间:2013-05-28 18:34:23

标签: php windows apache

我把它放在php.ini文件中:

disable_functions="popen,exec,system,passthru,proc_open,shell_exec,show_source,phpinfo"

但是我仍然可以调用它们(经过测试的exec和shell_exec。我已经多次重启了网络服务器。

(在Windows下)。

1 个答案:

答案 0 :(得分:8)

尝试删除双引号:

disable_functions=popen,exec,system,passthru,proc_open,shell_exec,show_source,phpinfo
相关问题