1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Support apcu for PHP 5.6

This commit is contained in:
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

@ -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'