[root@localhost Chat]# php start.php start -d
Workerman[start.php] start in DAEMON mode
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1023
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1025
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1027
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1029
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1031
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1033
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1035
-------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:3.5.18 PHP version:5.4.45
--------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status
tcp root HbCloudWorker none 4 [OK]
tcp root HbCloudWorker websocket://0.0.0.0:8282 4 [OK]
tcp root Register text://0.0.0.0:1238 1 [OK]
Input "php start.php stop" to stop. Start success.
[root@localhost Chat]# php start.php status
Workerman[start.php] status
[root@localhost Chat]# php start.php status
Workerman[start.php] status
Workerman[start.php] not run
[root@localhost Chat]# php start.php start -d
Workerman[start.php] start in DAEMON mode
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1023
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1025
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1027
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1029
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1031
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1033
pcntl_signal() has been disabled for security reasons in file /www/wwwroot/hbcloud/hbcloud2/admin/Chat/vendor/workerman/workerman/Worker.php on line 1035
-------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:3.5.18 PHP version:5.4.45
--------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status
tcp root HbCloudWorker none 4 [OK]
tcp root HbCloudWorker websocket://0.0.0.0:8282 4 [OK]
tcp root Register text://0.0.0.0:1238 1 [OK]
Input "php start.php stop" to stop. Start success.
[root@localhost Chat]# php start.php status
Workerman[start.php] status
[root@localhost Chat]# php start.php status
Workerman[start.php] status
Workerman[start.php] not run
pcntl_signal 被php.ini仅用了。
运行
php --ini
找到 php.ini文件的位置打开php.ini,找到disable_functions选项,把pcntl_signal从里面删除掉。
话说,网上搜下
xxxx has been disabled for security reasons
应该有不少答案的这个我已经查过了,没有禁用
提示不会骗人。你运行命令 php --ini ,找到实际使用的php.ini文件,打开文件找
没有注意这个提示信息,以为提示启动成功就成功了。这是我的禁用函数passthru,system,chroot,chgrp,chown,popen,proc_ope n,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru 看着也没有这个方法
你php.ini文件找错了
我机器上面装了三个不同版本的php,只要有一个禁用了,无论用那个版本的php都不行,我全部去掉就ok了,谢谢了。