Fix installation of memcache on PHP 7.x

Test: memcache
pull/204/head
Michele Locati 2020-12-07 19:41:13 +01:00
parent 4b692126cf
commit 45e336b383
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 2 additions and 0 deletions

View File

@ -1237,6 +1237,8 @@ installPECLModule() {
if test -z "$installPECLModule_version"; then
if test $PHP_MAJMIN_VERSION -lt 700; then
installPECLModule_version=2.2.7
elif test $PHP_MAJMIN_VERSION -lt 800; then
installPECLModule_version=4.0.5.2
fi
fi
;;