美文网首页
workerman启动时报错pcntl_fork被禁用

workerman启动时报错pcntl_fork被禁用

作者: i宁静的鱼 | 来源:发表于2020-05-04 22:58 被阅读0次

    报错信息
    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