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