Fix installing protobuf on PHP 8.x (#547)

Test: protobuf
pull/548/head 1.5.2
Michele Locati 2022-03-28 14:49:56 +02:00 committed by GitHub
parent 9f2bd2e20d
commit 7b1aec3ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2729,6 +2729,8 @@ installRemoteModule() {
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=3.12.4 installRemoteModule_version=3.12.4
else
installRemoteModule_version=stable
fi fi
fi fi
;; ;;