运行 php start.php start 报错,无法启动

1040657944@qq.com

问题描述

PHP Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 74

Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 74
PHP Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 75

Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 75
PHP Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 76

Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 76
PHP Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 86

Notice: Trying to access array offset on value of type null in /www/wwwroot/genadmin/vendor/workerman/webman-framework/src/support/App.php on line 86
Workerman[start.php] start in DEBUG mode
-------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:4.1.17 PHP version:7.4.33 Event-Loop:\Workerman\Events\Select
--------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status

截图

此处打印获取数据为空

截图

PHP 7.4.33 (cli) (built: Oct 24 2024 05:04:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

操作系统环境及workerman/webman等具体版本

PHP 7.4.33 (cli) (built: Oct 24 2024 05:04:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

160 1 0
1个回答

10bang

我猜config目录缺少server.php文件?或者server.php内容缺失了?

×
🔝