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解决了

posted @ 2017-07-17 11:21  屌丝IT男  阅读(2089)  评论(0编辑  收藏  举报