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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM