报错信息
pcntl_fork() has been disabled for security reasons in file /xxx/workerman/Worker.php
解决方法
pcntl_fork 被禁用了。
找到php.ini文件并打开
从disable_functions中删除pcntl_fork
重启apache或者nginx
报错信息
pcntl_fork() has been disabled for security reasons in file /xxx/workerman/Worker.php
解决方法
pcntl_fork 被禁用了。
找到php.ini文件并打开
从disable_functions中删除pcntl_fork
重启apache或者nginx
本文标题:workerman启动时报错pcntl_fork被禁用
本文链接:https://www.haomeiwen.com/subject/qdiughtx.html
网友评论