From 7cffc65639693aa096c3fb12bc0b5faa385ba5bc Mon Sep 17 00:00:00 2001 From: h-ochiai Date: Wed, 2 Dec 2020 11:38:32 +0900 Subject: [PATCH] fixed oci8 version --- php-fpm/Dockerfile | 2 +- workspace/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 1837b452..fc3e52da 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -519,7 +519,7 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \ else \ - echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \ + echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \ fi \ && docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_12_1,12.1 \ && docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \ diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 0043dd80..16035fbf 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -858,7 +858,7 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \ else \ - echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \ + echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \ fi \ && echo "extension=oci8.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \ && php -m | grep -q 'oci8' \