Merge pull request #3110 from johnathansantos/patch-1

Extension for Oracle Database, php 8.0
This commit is contained in:
Shao Yu-Lung (Allen) 2021-12-17 23:47:48 +08:00 committed by GitHub
commit d09d67249f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -914,6 +914,8 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.12; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "80000" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-3.0.1; \
else \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
fi \