diff --git a/install-php-extensions b/install-php-extensions index e5ab625..663c950 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2742,6 +2742,15 @@ installRemoteModule() { if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then installRemoteModule_version=1.33.1 + else + case "$DISTRO_VERSION" in + debian@8) + installRemoteModule_version=1.46.3 + ;; + alpine@3.7 | alpine@3.8 | debian@9) # With newer version: "This package requires GCC 7 or higher" + installRemoteModule_version=1.52.1 + ;; + esac fi fi if test -z "$installRemoteModule_version" || test "$installRemoteModule_version" = 1.35.0; then @@ -2751,13 +2760,6 @@ installRemoteModule() { ;; esac fi - if test -z "$installRemoteModule_version"; then - case "$DISTRO_VERSION" in - debian@8) - installRemoteModule_version=1.46.3 - ;; - esac - fi ;; http) if test -z "$installRemoteModule_version"; then