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

标签 laravel-5 configuration installation

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

相关文章:

iOS 应用程序 Ad Hoc 安装因配置错误而卡住

installation - 如何在 Inno Setup 中仅安装基于条件的文件(外部配置文件)

php - Laravel 自定义路由模型绑定(bind)

php - Laravel 根据枢轴额外字段从枢轴附加/分离模型

Laravel 如何检查验证唯一表两个字段

python - 如何将 IPython 历史记录到文本文件?

android - 如果我删除 gps.conf 文件会发生什么

javascript - Swiper JS 自动播放在 Laravel + Bootstrap 中移动到其他选项卡面板后停止

elasticsearch - 如何将 tcp 重定向到 nginx 中 Elasticsearch 服务器的端口 9300?

c# - 在 Visual Studio 2015 中创建安装程序或安装程序的工具