Merge pull request #204 from mlocati/memcache

Fix installation of memcache on PHP 7.x
pull/206/head 1.1.6
Michele Locati 2020-12-07 20:41:04 +01:00 committed by GitHub
commit 9d6ed2b97e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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