这个问题全部都是stackoverflow但我只是不得不重新发布它。 我实际上在Fortrabbit,我一直在Fortrabbit上为Laravel 5.4应用程序发生此错误,即使在我生成密钥php artisan key:generate
和我的config/app.php
我有"cypher" : "AES-256-CBC"
。唯一支持的密码 - Laravel在Fortrabbit上托管
几乎尝试了所有它需要解决这个错误,但仍然得到它在最后。
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
这是一个Fortrabbit的事情吗?我不知道是否有其他人对此有所了解Fortrabbit 任何帮助表示赞赏。
我做了php artisan config:cache
,composer install
仍然是一样的。
感谢
何时发生此错误?配置使用数组值,所以它应该是''cipher'=>'AES-256-CBC','在你的app.php中。 – Sandeesh
是的,就是这样。当我输入''cipher'时出现错误:'AES-256-CBC' – Michel
那么你什么时候得到错误?生成密钥或使用应用程序加载页面时? – Sandeesh