问题描述
我正在尝试在 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 (将#修改为@)