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

Support more extensions for PHP 5.5
This commit is contained in:
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
memcached 5.5 5.6 7.0 7.1 7.2 7.3 7.4
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
mssql 5.6
mssql 5.5 5.6
mysql 5.6
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
opencensus 7.0 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
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_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
@ -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
pspell 5.6 7.0 7.1 7.2 7.3 7.4
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
recode 5.6 7.0 7.1 7.2 7.3
redis 5.6 7.0 7.1 7.2 7.3 7.4

View File

@ -876,26 +876,22 @@ installBundledModule() {
esac
;;
mssql | pdo_dblib)
case "$1" in
506 | 700 | 701 | 702 | 703 | 704)
if ! test -f /usr/lib/libsybdb.so; then
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
fi
;;
esac
if test $1 -le 704; then
if ! test -f /usr/lib/libsybdb.so; then
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
fi
fi
;;
odbc)
case "$1" in
506 | 700 | 701 | 702 | 703 | 704)
docker-php-source extract
cd /usr/src/php/ext/odbc
phpize
sed -ri 's@^ *test +"\$PHP_.*" *= *"no" *&& *PHP_.*=yes *$@#&@g' configure
./configure --with-unixODBC=shared,/usr
cd - >/dev/null
;;
esac
if test $1 -le 704; then
docker-php-source extract
cd /usr/src/php/ext/odbc
phpize
sed -ri 's@^ *test +"\$PHP_.*" *= *"no" *&& *PHP_.*=yes *$@#&@g' configure
./configure --with-unixODBC=shared,/usr
cd - >/dev/null
fi
;;
pdo_odbc)
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?
installPECLModule_stdin="${installPECLModule_stdin}yes\n"
;;
mongodb)
if test $1 -le 505; then
installPECLModule_actual="$2-1.5.5"
fi
;;
msgpack)
if test $1 -le 506; then
installPECLModule_actual="$2-0.5.7"
@ -1131,20 +1132,24 @@ installPECLModule() {
fi
;;
rdkafka)
installPECLModule_tmp=
case "$(getDistro)" in
alpine)
installPECLModule_tmp='librdkafka'
;;
debian)
installPECLModule_tmp='librdkafka*'
;;
esac
if test -n "$installPECLModule_tmp"; then
installPECLModule_tmp="$(getInstalledPackageVersion "$installPECLModule_tmp")"
if test $1 -le 505; then
installPECLModule_actual="$2-3.0.5"
else
installPECLModule_tmp=
case "$(getDistro)" in
alpine)
installPECLModule_tmp='librdkafka'
;;
debian)
installPECLModule_tmp='librdkafka*'
;;
esac
if test -n "$installPECLModule_tmp"; then
if test $(compareVersions "$installPECLModule_tmp" '0.11.0') -lt 0; then
installPECLModule_actual="$2-3.1.3"
installPECLModule_tmp="$(getInstalledPackageVersion "$installPECLModule_tmp")"
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