木偶人 一起看功能报错pcntl_signal_dispatch() has been disabled for security reasons in file 解决方法

 

当我们运行 php start.php start 命令是,报错,pcntl_signal_dispatch() has been disabled for security reasons in file 

如图

4a47a0db6e60

 

启动不了,然后就各种寻找解决办法。后来知道是由于PHP配置的缘故,修改php.ini将disable_functions这个里面的以pcntl开头开头的函数都去掉,然后保存,接着重新启动就好了。

disable_functions = passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,imap_open,apache_setenv

如图

fb5c81ed3a22

 

下图是启动成功的提示。
TG交流群(点击进入)----付费帮助搭建---修复---二开,以及发布求资源.
QQ交流群 922260178
© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容