安装laravel中遇到的坑
Class 'Illuminate\Foundation\Application' not found
解决方法:php composer.phar update --no-scripts
HTTP 500
解决方法:- 查看storage bootstrap/cache的权限修改为可写 必须修改为 -R 777
- 打开调试模式
config/app.php debug=>env('APP_DEBUG',true)
查看原因 - 看到
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths
可能是APP_KEY没有生成的原因 - 关闭调试模式然后使用artisan产生APP_KEY
php artisan key:generate
- 修改
.env.example
=>.env
;