New supported extensions for PHP 8.0: odbc

pull/209/head
Michele Locati 2020-12-09 10:56:20 +01:00
parent 8f3ff464da
commit a23eec221e
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 7 additions and 9 deletions

View File

@ -34,7 +34,7 @@ mssql 5.5 5.6
mysql 5.5 5.6 mysql 5.5 5.6
mysqli 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 mysqli 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
oauth 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 oauth 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
odbc 5.5 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 8.0
opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
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

View File

@ -1035,14 +1035,12 @@ installBundledModule() {
fi fi
;; ;;
odbc) odbc)
if test $PHP_MAJMIN_VERSION -le 704; then 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
;; ;;
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