Merge pull request #158 from mlocati/protobuf

Fix protobuf for PHP 5.x
pull/159/head
Michele Locati 2020-08-18 10:59:00 +02:00 committed by GitHub
commit 0236caf3f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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"