mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-10 09:02:42 +00:00
AMQP with PHP 8: use the latest beta version instead of a specific commit
This commit is contained in:
parent
341d40dfa2
commit
dc917dea37
2 changed files with 3 additions and 12 deletions
|
@ -1546,16 +1546,7 @@ installRemoteModule() {
|
|||
amqp)
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
if test $PHP_MAJMIN_VERSION -ge 800; then
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
installRemoteModule_version=df1241852b359cf12c346beaa68de202257efdf1
|
||||
fi
|
||||
installRemoteModule_src="$(getPackageSource https://codeload.github.com/php-amqp/php-amqp/tar.gz/$installRemoteModule_version)"
|
||||
cd -- "$installRemoteModule_src"
|
||||
phpize
|
||||
./configure
|
||||
make -j$(getProcessorCount)
|
||||
make install
|
||||
installRemoteModule_manuallyInstalled=1
|
||||
installRemoteModule_version=beta
|
||||
elif test "$DISTRO_VERSION" = debian@8; then
|
||||
# in Debian Jessie we have librammitmq version 0.5.2
|
||||
installRemoteModule_version=1.9.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue