No application encryption key has been specified.

No application encryption key has been specified.

今天git拉取项目后,打开网址,laravel报错:No application encryption key has been specified.

微信截图_20181119125802.png

这是由于没有设置APP_KEY的原因

解决方法:

在laravel项目的目录下用命令窗口执行:

php artisan key:generate

再次刷新页面是不是好了~ 

laravel报错No application encryption key has been specified.

喜欢(0)

评论 抢沙发

表情