Add support for mcrypt in PHP 7.2

pull/5/head
Michele Locati 2018-04-12 12:26:02 +02:00
parent e01db37cd1
commit 3dbe416e6c
2 changed files with 7 additions and 1 deletions

View File

@ -14,7 +14,7 @@ imap 5.6 7.0 7.1 7.2
interbase 5.6 7.0 7.1 7.2 interbase 5.6 7.0 7.1 7.2
intl 5.6 7.0 7.1 7.2 intl 5.6 7.0 7.1 7.2
ldap 5.6 7.0 7.1 7.2 ldap 5.6 7.0 7.1 7.2
mcrypt 5.6 7.0 7.1 mcrypt 5.6 7.0 7.1 7.2
memcache 5.6 memcache 5.6
memcached 5.6 7.0 7.1 7.2 memcached 5.6 7.0 7.1 7.2
mysql 5.6 mysql 5.6

View File

@ -361,6 +361,12 @@ installPECLModule () {
printf '### INSTALLING PECL MODULE %s ###\n' "${2}" printf '### INSTALLING PECL MODULE %s ###\n' "${2}"
installPECLModule_actual="${2}" installPECLModule_actual="${2}"
case "${2}" in case "${2}" in
mcrypt)
if test $1 -ge 702
then
installPECLModule_actual="${2}-1.0.1"
fi
;;
memcached) memcached)
if test $1 -lt 700 if test $1 -lt 700
then then