欢迎来到元素模板ys720.com,本站提供专业的织梦模板PBOOTCMS模板网站模板网站修改/网站仿站
当前位置:主页 > 程序教程 > 其他教程 >
其他教程

php运行报proc_get_status() has been disabled for security reasons in file 错误

(元素模板) / 2025-07-11 11:24
在运行php时报proc_get_status() has been disabled for security reasons in file 错误
出现这个错误一般都是 php.ini里面 禁止了proc_get_status 函数

只需要到 php.ini里面 查找proc_get_status 删掉就可以了

一般搜到会显示这样disable_functions=passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_get_status,proc_open,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
把里面删掉即可
但是一般删掉这个,还会有另外错误,这个时候需要把他后面的proc_open 也一起删掉就可以了
Copyright @ 2013-2021 元素模板 www.ys720.com All Rights Reserved. 版权所有 元素模板 www.ys720.com