No supported encrypter found. The cipher and / or key length are invalid.

来源:互联网 发布:mac automator是什么 编辑:程序博客网 时间:2024/05/05 08:43

使用Laravel框架,出现No supported encrypter found. The cipher and / or key length are invalid.,如图:
这里写图片描述
这是因为要配置config/app.php里面的key的值,这里使用的是配置文件.env中的配置。使用命令php artisan key:generate 会自动生成key,并且加入到.env文件中的APP_KEY的值的位置。

Author:leedaning
本文地址:http://blog.csdn.net/leedaning/article/details/53019572

0 0