mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-08 16:17:20 +00:00
Fix installing AMQP on non-Debian PHP 5.5 images
Test: amqp
This commit is contained in:
parent
460d1ad5f9
commit
f36e6490a7
1 changed files with 8 additions and 8 deletions
|
@ -1351,14 +1351,14 @@ installPECLModule() {
|
|||
installPECLModule_cppflags=''
|
||||
case "$installPECLModule_module" in
|
||||
amqp)
|
||||
case "$DISTRO_VERSION" in
|
||||
debian@8)
|
||||
if test -z "$installPECLModule_version"; then
|
||||
# in Debian Jessie we have librammitmq version 0.5.2
|
||||
installPECLModule_version=1.9.3
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test -z "$installPECLModule_version"; then
|
||||
if test "$DISTRO_VERSION" = debian@8; then
|
||||
# in Debian Jessie we have librammitmq version 0.5.2
|
||||
installPECLModule_version=1.9.3
|
||||
elif test $PHP_MAJMIN_VERSION -le 505; then
|
||||
installPECLModule_version=1.9.4
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
apcu)
|
||||
if test -z "$installPECLModule_version"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue