首页 > 其他 > 详细

The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct

时间:2020-04-22 22:37:32      阅读:54      评论:0      收藏:0      [点我收藏+]

Laravel 出现"RuntimeException inEncrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths."问题的解决办法
首先在cmd命令行下定位到项目所在的根目录下,接着输入:

php artisan key:generate

效果:

技术分享图片

 

 这时候项目根目录下的.env文件里的APP_KEY应该会有值了:

技术分享图片

 

 若没有,则将上一步生成的key值输入进去即可。

 

 

 

 

 

 

 

 

 

采摘自:https://blog.csdn.net/u013049553/article/details/52608353

The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct

原文:https://www.cnblogs.com/aididiao/p/12757087.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!