mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-11-30 04:29:15 +01:00
Support apcu for PHP 5.6
This commit is contained in:
parent
f4e10e8bd9
commit
83ffd80127
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user