我使用 Composer 安装了 Laravel 5.3 的新副本,但收到此错误:
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. Even though my app.php file in config directory specify
'cipher' => 'AES-128-CBC'
最佳答案
您的应用程序文件夹中需要有.env,然后运行:
$ php artisan key:generate
如果您没有 .env.example 中的 .env 副本:
$ cp .env.example .env
关于laravel-5 - 唯一支持的密码是具有正确 key 长度的 AES-128-CBC 和 AES-256-CBC。拉拉维尔 5.3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39693312/