New supported extensions for PHP 8.0: odbc
parent
8f3ff464da
commit
a23eec221e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue