mac终端命令行启动start.php文件失败,报: Uncaught exception 'Exception' with message 'Setsid fail'

echo_class

通过终端命令行登录远程服务器,打开start.php文件时报错:

Fatal error: Uncaught exception 'Exception' with message 'Setsid fail' in /www/wwwroot/***/vendor/GatewayWorker/vendor/workerman/workerman/Worker.php:1217
Stack trace:
#0 /www/wwwroot/***/vendor/GatewayWorker/vendor/workerman/workerman/Worker.php(540): Workerman\Worker::daemonize()
#1 /www/wwwroot/***/vendor/GatewayWorker/start.php(37): Workerman\Worker::runAll()
#2 {main}
  thrown in /www/wwwroot/***/vendor/GatewayWorker/vendor/workerman/workerman/Worker.php on line 1217

请问这是什么原因?该怎么解决呢?PHP用的是CI框架,IM用的是gatewayworker
谢谢!

2509 0 0
0个回答

年代过于久远,无法发表回答
🔝