thinkphp 5.0报错pcntl_signal() has been disabled for security reasons问题解决
2021-01-27 20:13
标签:cti 生产环境 workerman reason ons fork 删除 php5 wro 环境 thinkphp 5.0使用workerman,启动workerman服务端报错 问题原因:pcntl_signal、pcntl_fork 等系列函数被禁用了 解决方案:找到 php.ini 文件并定位到 disable_functions 字段,将其后的 pcntl_signal、pcntl_fork等系列函数删掉。 宝塔面板操作步骤:软件商店(已安装) -> PHP5.6 ->设置-> 禁用函数,将pcntl_signal、pcntl_fork等系列删除即可。 非生产环境,可以将 disable_functions 字段后内容留空。 thinkphp 5.0报错pcntl_signal() has been disabled for security reasons问题解决 标签:cti 生产环境 workerman reason ons fork 删除 php5 wro 原文地址:https://www.cnblogs.com/zqifa/p/13218440.html
centos7
thinkphp 5.0
think-worker 1.0.1
Workerman version:3.5.30
PHP version:5.6.9pcntl_signal() has been disabled for security reasons in file /www/wwwroot/shop/vendor/workerman/workerman/Worker.php on line 1107
pcntl_fork() has been disabled for security reasons in file /www/wwwroot/shop/vendor/workerman/workerman/Worker.php on line 1514
上一篇:CSS中那些必须掌握的概念
下一篇:自定义PHPstorm快捷键
文章标题:thinkphp 5.0报错pcntl_signal() has been disabled for security reasons问题解决
文章链接:http://soscw.com/index.php/essay/47901.html