Skip to content

Commit 7cffc65

Browse files
author
h-ochiai
committed
fixed oci8 version
1 parent 872c2b9 commit 7cffc65

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

php-fpm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
519519
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
520520
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \
521521
else \
522-
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
522+
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
523523
fi \
524524
&& docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_12_1,12.1 \
525525
&& docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \

workspace/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
858858
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
859859
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \
860860
else \
861-
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
861+
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
862862
fi \
863863
&& echo "extension=oci8.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
864864
&& php -m | grep -q 'oci8' \

0 commit comments

Comments
 (0)