通过终端命令行登录远程服务器,打开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
谢谢!