From 7ef81a96dccedb152b37f84c460c94126629fba9 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 31 Jul 2020 18:16:35 +0200 Subject: [PATCH 1/2] Execute pecl channel-update pecl.php.net Fixes this warning: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update --- install-php-extensions | 1 + 1 file changed, 1 insertion(+) diff --git a/install-php-extensions b/install-php-extensions index 4a1bb0f..a3e075c 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1331,6 +1331,7 @@ installPECLModule() { if test "$1" != "$installPECLModule_actual"; then printf ' (installing version %s)\n' "$installPECLModule_actual" fi + pecl channel-update pecl.php.net || true printf "$installPECLModule_stdin" | pecl install "$installPECLModule_actual" fi case "$1" in From 9930171800ff6034324a73f30d3b583092263dfd Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 31 Jul 2020 18:18:08 +0200 Subject: [PATCH 2/2] Use mondodb 1.7.5 for PHP 5.6 Test: mongodb --- install-php-extensions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index a3e075c..b7bb874 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1125,6 +1125,8 @@ installPECLModule() { mongodb) if test $PHP_MAJMIN_VERSION -le 505; then installPECLModule_actual="$1-1.5.5" + elif test $PHP_MAJMIN_VERSION -le 506; then + installPECLModule_actual="$1-1.7.5" fi ;; msgpack)