workerman 检查安装环境报错

2019-11-21 20:52 · php · YUSHUI

Linux系统可以使用以下脚本测试本机PHP环境是否满足WorkerMan运行要求 。

报错
   [root@localhost ~]# curl -Ss http://www.workerman.net/check.php | php
   PHP Version >= 5.3.3                  
   Extension pcntl check                
   Extension posix check                
   Function stream_socket_server may be disabled. Please check disable_functions in php.ini
   see http://doc.workerman.net/faq/disable-function-check.html

解决方案
   打开php.ini
   搜索一下disable_functions
   在这行前面加分号(;),或者把提示没有的函数拿掉即可

← 返回首页

文章评论

登录后评论

callback · 2019-12-18 23:52

312321

callback · 2019-12-18 23:51

test