Fix protobuf for PHP 5.x

pull/158/head
Michele Locati 2020-08-18 10:02:00 +02:00
parent 8d4276126b
commit 8fa54b93b9
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
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"