您的位置:首页 > 其它

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

2017-11-15 18:57 495 查看

Laravel 出现"RuntimeException inEncrypter.php
line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths."问题的解决办法



首先在cmd命令行下定位到项目所在的根目录下,接着输入:

[plain]
view plain
copy

php artisan key:generate  

效果:



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



若没有,则将上一步生成的key值输入进去即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐