From 8fa54b93b96051d5906c8b485aae0104f82ffec5 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Tue, 18 Aug 2020 10:02:00 +0200 Subject: [PATCH] Fix protobuf for PHP 5.x --- install-php-extensions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index b7bb874..51823f9 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1176,6 +1176,11 @@ installPECLModule() { installPECLModule_actual="$1-1.0.2" fi ;; + protobuf) + if test $PHP_MAJMIN_VERSION -lt 700; then + installPECLModule_actual="$1-3.12.4" + fi + ;; pthreads) if test $PHP_MAJMIN_VERSION -lt 700; then installPECLModule_actual="$1-2.0.10"