Support more extensions for PHP 5.5

pull/108/head
Michele Locati 2020-02-03 08:26:38 +01:00
parent c575205c7c
commit c2e185457f
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 41 additions and 36 deletions

View File

@ -24,18 +24,18 @@ mcrypt 5.5 5.6 7.0 7.1 7.2 7.3 7.4
memcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 memcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4
memcached 5.5 5.6 7.0 7.1 7.2 7.3 7.4 memcached 5.5 5.6 7.0 7.1 7.2 7.3 7.4
mongo 5.5 5.6 mongo 5.5 5.6
mongodb 5.6 7.0 7.1 7.2 7.3 7.4 mongodb 5.5 5.6 7.0 7.1 7.2 7.3 7.4
msgpack 5.6 7.0 7.1 7.2 7.3 7.4 msgpack 5.6 7.0 7.1 7.2 7.3 7.4
mssql 5.6 mssql 5.5 5.6
mysql 5.6 mysql 5.6
mysqli 5.6 7.0 7.1 7.2 7.3 7.4 mysqli 5.6 7.0 7.1 7.2 7.3 7.4
odbc 5.6 7.0 7.1 7.2 7.3 7.4 odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4
opcache 5.6 7.0 7.1 7.2 7.3 7.4 opcache 5.6 7.0 7.1 7.2 7.3 7.4
opencensus 7.0 7.1 7.2 7.3 7.4 opencensus 7.0 7.1 7.2 7.3 7.4
parallel 7.1 7.2 7.3 7.4 parallel 7.1 7.2 7.3 7.4
pcntl 5.6 7.0 7.1 7.2 7.3 7.4 pcntl 5.6 7.0 7.1 7.2 7.3 7.4
pcov 7.0 7.1 7.2 7.3 7.4 pcov 7.0 7.1 7.2 7.3 7.4
pdo_dblib 5.6 7.0 7.1 7.2 7.3 7.4 pdo_dblib 5.5 5.6 7.0 7.1 7.2 7.3 7.4
pdo_firebird 5.6 7.0 7.1 7.2 7.3 7.4 pdo_firebird 5.6 7.0 7.1 7.2 7.3 7.4
pdo_mysql 5.6 7.0 7.1 7.2 7.3 7.4 pdo_mysql 5.6 7.0 7.1 7.2 7.3 7.4
pdo_odbc 5.6 7.0 7.1 7.2 7.3 7.4 pdo_odbc 5.6 7.0 7.1 7.2 7.3 7.4
@ -46,7 +46,7 @@ propro 5.6 7.0 7.1 7.2 7.3 7.4
protobuf 5.6 7.0 7.1 7.2 7.3 7.4 protobuf 5.6 7.0 7.1 7.2 7.3 7.4
pspell 5.6 7.0 7.1 7.2 7.3 7.4 pspell 5.6 7.0 7.1 7.2 7.3 7.4
pthreads 5.6 7.0 pthreads 5.6 7.0
rdkafka 5.6 7.0 7.1 7.2 7.3 7.4 rdkafka 5.5 5.6 7.0 7.1 7.2 7.3 7.4
raphf 5.6 7.0 7.1 7.2 7.3 7.4 raphf 5.6 7.0 7.1 7.2 7.3 7.4
recode 5.6 7.0 7.1 7.2 7.3 recode 5.6 7.0 7.1 7.2 7.3
redis 5.6 7.0 7.1 7.2 7.3 7.4 redis 5.6 7.0 7.1 7.2 7.3 7.4

View File

@ -876,26 +876,22 @@ installBundledModule() {
esac esac
;; ;;
mssql | pdo_dblib) mssql | pdo_dblib)
case "$1" in if test $1 -le 704; then
506 | 700 | 701 | 702 | 703 | 704)
if ! test -f /usr/lib/libsybdb.so; then if ! test -f /usr/lib/libsybdb.so; then
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so" UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
fi fi
;; fi
esac
;; ;;
odbc) odbc)
case "$1" in if test $1 -le 704; then
506 | 700 | 701 | 702 | 703 | 704)
docker-php-source extract docker-php-source extract
cd /usr/src/php/ext/odbc cd /usr/src/php/ext/odbc
phpize phpize
sed -ri 's@^ *test +"\$PHP_.*" *= *"no" *&& *PHP_.*=yes *$@#&@g' configure sed -ri 's@^ *test +"\$PHP_.*" *= *"no" *&& *PHP_.*=yes *$@#&@g' configure
./configure --with-unixODBC=shared,/usr ./configure --with-unixODBC=shared,/usr
cd - >/dev/null cd - >/dev/null
;; fi
esac
;; ;;
pdo_odbc) pdo_odbc)
docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr
@ -1078,6 +1074,11 @@ installPECLModule() {
# --with-mongo-sasl (default: no) Build with Cyrus SASL (MongoDB Enterprise Authentication) support? # --with-mongo-sasl (default: no) Build with Cyrus SASL (MongoDB Enterprise Authentication) support?
installPECLModule_stdin="${installPECLModule_stdin}yes\n" installPECLModule_stdin="${installPECLModule_stdin}yes\n"
;; ;;
mongodb)
if test $1 -le 505; then
installPECLModule_actual="$2-1.5.5"
fi
;;
msgpack) msgpack)
if test $1 -le 506; then if test $1 -le 506; then
installPECLModule_actual="$2-0.5.7" installPECLModule_actual="$2-0.5.7"
@ -1131,6 +1132,9 @@ installPECLModule() {
fi fi
;; ;;
rdkafka) rdkafka)
if test $1 -le 505; then
installPECLModule_actual="$2-3.0.5"
else
installPECLModule_tmp= installPECLModule_tmp=
case "$(getDistro)" in case "$(getDistro)" in
alpine) alpine)
@ -1148,6 +1152,7 @@ installPECLModule() {
fi fi
fi fi
fi fi
fi
;; ;;
redis) redis)
# enable igbinary serializer support? # enable igbinary serializer support?