webman 启动报错,确实vendor/autoload.php

lu_911

问题描述

根目录下缺失vendor 这个目录。

程序代码

php73 ./start.php start

截图报错信息里报错文件相关代码

P Warning: require_once(/usr/local/wokerman/webman-1.5.5/vendor/autoload.php): failed to open stream: No such file or directory in /usr/local/wokerman/webman-1.5.5/start.php on line 3
PHP Fatal error: require_once(): Failed opening required '/usr/local/wokerman/webman-1.5.5/vendor/autoload.php' (include_path='.:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/pear:/usr/share/php') in /usr/local/wokerman/webman-1.5.5/start.php on line 3

操作系统及workerman/webman等框架组件具体版本

环境:webman-1.5.5
OS:centos7.9
PHP:7.3

355 1 0
1个回答

lu_911

已解决,先以composer 创建项目,就会看到verdor目录

  • 暂无评论
×
🔝