今天从github上克隆了一个php项目到本地,配置好环境后,运行项目还是报错Warning: require(D:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php)
解决方案:
打开composer命令窗口:
![](https://img.haomeiwen.com/i4976145/55f65979ae67e56e.png)
输入以下命令:
composer update
![](https://img.haomeiwen.com/i4976145/5e85454b7a6b60c4.png)
再次刷新项目,显示成功运行
![](https://img.haomeiwen.com/i4976145/5469cf92ea4d45b3.png)
今天从github上克隆了一个php项目到本地,配置好环境后,运行项目还是报错Warning: require(D:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php)
解决方案:
打开composer命令窗口:
输入以下命令:
composer update
再次刷新项目,显示成功运行
本文标题:报错 Warning: require(D:\phpstudy_
本文链接:https://www.haomeiwen.com/subject/meudgdtx.html
网友评论