如何解决Heroku - 未安装“amqp”扩展
我正在尝试在 Heroku 上部署我的 Symfony 5 应用程序,但是在部署过程中,我遇到了这个错误:
In Connection.PHP line 108:
You cannot use the "Symfony\Component\Messenger\Bridge\Amqp\Transport\Conne
ction" as the "amqp" extension is not installed.
所以我尝试在我的项目中安装 Composer,ext-amqp,就像这样
composer require ext-amqp
但结果是这样的:
Using version ^1.10 for ext-amqp
./composer.json has been updated
Running composer update ext-amqp
Loading composer repositories with package information
Updating dependencies
nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
nothing to install,update or remove
Executing script cache:clear [OK]
Executing script assets:install public [OK]
Package ext-amqp is not installed
我不知道该怎么做
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。