Closed nebkam closed 9 months ago
@nebkam
Installing amqp from pecl requires librabbitmq
. You can specify the package for that in the AMQP_LIBS
env and it will install correctly.
- name: Setup PHP with extensions
uses: shivammathur/setup-php@verbose
with:
php-version: 8.1
extensions: amqp-1.11.0
env:
AMQP_LIBS: librabbitmq-dev
Confirmed that it works on my setup as well.
Thank you for a prompt response!
Describe the bug
Version
v1
orv2
.v2
v1
Runners
Operating systems
ubuntu-latest
PHP versions
7.4
To Reproduce
Added a specific version of amqp extension:
It installs the wrong version (
amqp-2.1.1
)Expected behavior
To install the specific version of the PHP extension (
amqp-1.11.0
) or fail.Screenshots/Logs
Additional context
Are you willing to submit a PR?