美文网首页
APP_KEY未设置出错

APP_KEY未设置出错

作者: 杨森Janssen | 来源:发表于2017-07-28 15:18 被阅读16次

出错提示:RuntimeExceptioninEncrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

解决方式:1.首先在cmd命令行下定位到项目所在的根目录下,接着命令行输入:php artisan key:generate

2.查看项目根目录下的.env文件里的APP_KEY,如果没有值了,则将上一步生成的key值输入进去

相关文章

网友评论

      本文标题:APP_KEY未设置出错

      本文链接:https://www.haomeiwen.com/subject/avxflxtx.html