Merge pull request #108 from mlocati/php5.5-part6

Support more extensions for PHP 5.5
pull/109/head
Michele Locati 2020-02-03 09:27:06 +01:00 committed by GitHub
commit bf2ed42354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,20 +1132,24 @@ installPECLModule() {
fi fi
;; ;;
rdkafka) rdkafka)
installPECLModule_tmp= if test $1 -le 505; then
case "$(getDistro)" in installPECLModule_actual="$2-3.0.5"
alpine) else
installPECLModule_tmp='librdkafka' installPECLModule_tmp=
;; case "$(getDistro)" in
debian) alpine)
installPECLModule_tmp='librdkafka*' installPECLModule_tmp='librdkafka'
;; ;;
esac debian)
if test -n "$installPECLModule_tmp"; then installPECLModule_tmp='librdkafka*'
installPECLModule_tmp="$(getInstalledPackageVersion "$installPECLModule_tmp")" ;;
esac
if test -n "$installPECLModule_tmp"; then if test -n "$installPECLModule_tmp"; then
if test $(compareVersions "$installPECLModule_tmp" '0.11.0') -lt 0; then installPECLModule_tmp="$(getInstalledPackageVersion "$installPECLModule_tmp")"
installPECLModule_actual="$2-3.1.3" if test -n "$installPECLModule_tmp"; then
if test $(compareVersions "$installPECLModule_tmp" '0.11.0') -lt 0; then
installPECLModule_actual="$2-3.1.3"
fi
fi fi
fi fi
fi fi