Support apcu for PHP 5.6

pull/38/head
Michele Locati 2019-10-10 11:51:13 +02:00
parent f4e10e8bd9
commit 83ffd80127
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
amqp 5.6 7.0 7.1 7.2 7.3
apcu 7.0 7.1 7.2 7.3
apcu 5.6 7.0 7.1 7.2 7.3
bcmath 5.6 7.0 7.1 7.2 7.3
bz2 5.6 7.0 7.1 7.2 7.3
calendar 5.6 7.0 7.1 7.2 7.3

View File

@ -48,7 +48,7 @@ getPHPInstalledModules () {
Zend\ OPcache)
getPHPInstalledModules_moduleNormalized='opcache'
;;
*\ *|A*|*B*|*C*|*D*|*E*|*F*|*G*|*H*|*I*|*J*|*K*|*L*|*M*|*N*|*O*|*P*|*Q*|*R*|*S*|*T*|*U*|*V*|*W*|*X*|*Y*|*Z*)
*\ *|*A*|*B*|*C*|*D*|*E*|*F*|*G*|*H*|*I*|*J*|*K*|*L*|*M*|*N*|*O*|*P*|*Q*|*R*|*S*|*T*|*U*|*V*|*W*|*X*|*Y*|*Z*)
printf '### WARNING Unrecognized module name: %s ###\n' "${getPHPInstalledModules_module}" >&2
;;
*)
@ -425,6 +425,11 @@ installPECLModule () {
installPECLModule_actual="${2}"
installPECLModule_stdin=''
case "${2}" in
apcu)
if test $1 -le 506; then
installPECLModule_actual="${2}-4.0.11"
fi
;;
mcrypt)
if test $1 -ge 702; then
installPECLModule_stdin='autodetect'