Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我把它放在 php.ini 文件中:
disable_functions="popen,exec,system,passthru,proc_open,shell_exec,show_source,phpinfo"
但我仍然可以调用它们(经过测试的 exec 和 shell_exec。我已经重新启动了几次网络服务器。
(在窗户下)。
尝试删除双引号:
disable_functions=popen,exec,system,passthru,proc_open,shell_exec,show_source,phpinfo