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

如果输入命令:php artisan key:generate 还是报错

那就要从别的项目里复制一个key到.env中,然后再运行命令:composer update和php artisan key:generate,这样key就变掉了

ok解决了

原文地址:https://www.cnblogs.com/hltswd/p/7193437.html