gpt4 book ai didi

laravel-5 - 唯一支持的密码是具有正确 key 长度的 AES-128-CBC 和 AES-256-CBC。拉拉维尔 5.3

转载 作者:行者123 更新时间:2023-12-03 05:41:28 27 4
gpt4 key购买 nike

我使用 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com