Skip to content

Commit

Permalink
Merge pull request #229 from mlocati/amqp-fix
Browse files Browse the repository at this point in the history
Fix installing AMQP on non-Debian PHP 5.5 images
  • Loading branch information
mlocati authored Dec 17, 2020
2 parents 460d1ad + f36e649 commit fd2d0b9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd2d0b9

Please sign in to comment.