php start.php start -d 出错,这个怎么处理?
问题描述
这里写描述
fopen(): Filename cannot be empty in file /www/wwwroot/webman_axb_api/vendor/workerman/workerman/Worker.php on line 1294
PHP Fatal error: Uncaught Exception: Can not open stdoutFile in /www/wwwroot/webman_axb_api/vendor/workerman/workerman/Worker.php:1325
Stack trace:
0 /www/wwwroot/webman_axb_api/vendor/workerman/workerman/Worker.php(1599): Workerman\Worker::resetStd()
1 /www/wwwroot/webman_axb_api/vendor/workerman/workerman/Worker.php(1426): Workerman\Worker::forkOneWorkerForLinux(Object(Workerman\Worker))
2 /www/wwwroot/webman_axb_api/vendor/workerman/workerman/Worker.php(1400): Workerman\Worker::forkWorkersForLinux()
3 /www/wwwroot/webman_axb_api/vendor/workerman/workerman/Worker.php(560): Workerman\Worker::forkWorkers()
4 /www/wwwroot/webman_axb_api/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()
5 /www/wwwroot/webman_axb_api/start.php(4): support\App::run()
6 {main}
thrown in /www/wwwroot/webman_axb_api/vendor/workerman/workerman/Worker.php on line 1325
1个回答
年代过于久远,无法发表回答
盲猜是 config/app.php 里面的runtime_path配置有问题
是的谢谢,解决了config没配