Skip to content

Commit

Permalink
Fix installing protobuf on PHP 7.x (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Nov 2, 2023
1 parent 428a3b6 commit 9f22693
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -3197,8 +3197,10 @@ installRemoteModule() {
;;
protobuf)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
if test $PHP_MAJMIN_VERSION -lt 700; then
installRemoteModule_version=3.12.4
elif test $PHP_MAJMIN_VERSION -lt 800; then
installRemoteModule_version=3.24.4
fi
fi
;;
Expand Down

0 comments on commit 9f22693

Please sign in to comment.