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

laravel项目部署服务器出现秘钥APP_KEY错误

这几天写了一个小项目,部署到服务器上的时候,直接就报错了The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.,Laravel 框架 The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
说什么我的APP_KEY长度不符合他的长度,我的第一想法是检查.env文件里面的APP_KEY,没有任何问题,在网上也看到了很多人说用artisan命令,但是那针对线上不好弄,后面发现只要在config文件夹中app.php文件中把.env中的APP_KEY给复制到这里面就行了,附图Laravel 框架 The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.Laravel 框架 The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.Laravel 框架 The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
希望能帮到同样问题的童鞋,哈哈哈哈哈,