php - 拉维尔 5.4 : The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths

标签 php laravel configuration

这是我的网络应用程序的 Laravel 5.4 设置。 页面加载时重复发生一件事。因此,我无法在我的页面上获取数据。

运行时异常:唯一受支持的密码是具有正确 key 长度的 AES-128-CBC 和 AES-256-CBC。

反复出现这个错误

如有任何帮助,我将不胜感激。

最佳答案

确保您的应用配置已设置 key 和密码。还要确保您的 .env 文件没有空的 APP_KEY 条目。最后运行:

php artisan key:generate

关于php - 拉维尔 5.4 : The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44564962/

相关文章:

php - Laravel 5.5 使用参数从 Blade View 调用 Controller 函数

java - Java .NET与PHP Rails

php - 使用仅检查获取和发布变量的数据库类?

php - 选择搜索日期之前删除的所有行和软删除行

java - 如何在用户之间共享 Eclipse 项目首选项?

java - Spring 3.1配置: environment not injected

docker - 在 master 上运行的 Kubernetes 应用程序 - DaemonSet

php - sql 只存储每个用户 1 个请求,忽略其他请求

php - Opencart 运输邮政编码 订购前检查

php - 如何在 Laravel 中解析 "ErrorException in VerifyCsrfToken.php"