操作日志:
http://kdemo.sslj.net/push/worker
返回:Only run in command line mode
脚本执行
cd /www/wwwroot/dcf && php service.php start -d
报错:
pcntl_fork() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1210
pcntl_fork() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1220
pcntl_fork()函数被禁用 php禁用函数列表中删除pcntl_fork()
再次启动
cd /www/wwwroot/dcf && php service.php start -d
报错:
pcntl_signal() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1107
pcntl_signal() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1109
pcntl_signal() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1111
pcntl_signal() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1113
pcntl_signal() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1115
pcntl_signal() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1117
pcntl_signal() has been disabled for security reasons in file
/www/wwwroot/dcf/vendor/workerman/workerman/Worker.php on line 1119
pcntl_signal()函数被禁用 php禁用函数列表中删除pcntl_signal()
再次启动
cd /www/wwwroot/dcf && php service.php start -d
Workerman[service.php] start in DAEMON mode
Workerman[service.php] already running
----------------------------------------------------------------------------
★[2021-03-26 09:53:47] Successful
启动成功