mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 00:22:40 +00:00
Fix installing protobuf on PHP 7.x (#827)
This commit is contained in:
parent
428a3b6b2b
commit
9f22693f03
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue