错误:
Warning: require(E:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php): failed to open stream: No such file or directory in E:\phpstudy_pro\WWW\blog\public\index.php on line 24
Fatal error: require(): Failed opening required 'E:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php' (include_path='.;C:\php\pear') in E:\phpstudy_pro\WWW\blog\public\index.php on line 24
解决:
根目录执行 composer install
1、复制 laravel 框架根目录 的.env.example文件 到根目录 改名.env
2、使用命令 php artisan key:generate 获取密码 (APP_KEY),自动保存到 .env
3、将密码复制到config/app.php 中的key里面
4、重新运行,OK。
标签:laravel,WWW,git,pro,phpstudy,blog,报错,php,public From: https://www.cnblogs.com/79524795-Tian/p/16730043.html