打开php.ini,并搜索disable_functions指令,找到类似如下内容:
disable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
找到proc_open并删除即可。
本文介绍如何在php.ini文件中解除对proc_open函数的禁用。首先需要打开php.ini文件并定位到disable_functions指令,找到被禁用的proc_open函数,然后将其从列表中移除。

被折叠的 条评论
为什么被折叠?



