mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 00:22:40 +00:00
New supported extensions for PHP 8.0: odbc
This commit is contained in:
parent
8f3ff464da
commit
a23eec221e
2 changed files with 7 additions and 9 deletions
|
@ -1035,14 +1035,12 @@ installBundledModule() {
|
|||
fi
|
||||
;;
|
||||
odbc)
|
||||
if test $PHP_MAJMIN_VERSION -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
|
||||
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
|
||||
;;
|
||||
pdo_odbc)
|
||||
docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue