We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how enable oci8 in dockerfile?i've tried with instantclient, but no luck
RUN apt-get -y install libaio1 libc6-dev COPY basic.zip /tmp/ COPY sdk.zip /tmp/ RUN unzip /tmp/basic.zip -d /usr/local/ RUN unzip /tmp/sdk.zip -d /usr/local/ RUN mv /usr/local/instantclient_21_6 /usr/local/instantclient
RUN sh -c "echo /usr/local/instantclient > /etc/ld.so.conf.d/oracle-instantclient.conf" RUN ldconfig
RUN export LD_LIBRARY_PATH=/usr/local/instantclient:$LD_LIBRARY_PATH RUN export PATH=/usr/local/instantclient:$PATH
RUN docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/usr/local/instantclient
RUN pecl channel-update pecl.php.net
RUN pecl install pecl install oci8 && memcache-8.0 && pecl install mongodb-1.12.0
RUN docker-php-ext-enable memcache mongodb
RUN docker-php-ext-enable pdo_oci oci8
thanks
The text was updated successfully, but these errors were encountered:
Hi, you can checkout this PR s. #16 where a user has enabled oci8 for the container
Sorry, something went wrong.
Hey, we have just added also an oracle flavor to our base image which can be used if you need oracle support.
No branches or pull requests
how enable oci8 in dockerfile?i've tried with instantclient, but no luck
RUN apt-get -y install libaio1 libc6-dev
COPY basic.zip /tmp/
COPY sdk.zip /tmp/
RUN unzip /tmp/basic.zip -d /usr/local/
RUN unzip /tmp/sdk.zip -d /usr/local/
RUN mv /usr/local/instantclient_21_6 /usr/local/instantclient
RUN sh -c "echo /usr/local/instantclient > /etc/ld.so.conf.d/oracle-instantclient.conf"
RUN ldconfig
RUN export LD_LIBRARY_PATH=/usr/local/instantclient:$LD_LIBRARY_PATH
RUN export PATH=/usr/local/instantclient:$PATH
RUN docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/usr/local/instantclient
RUN pecl channel-update pecl.php.net
RUN pecl install pecl install oci8 && memcache-8.0
&& pecl install mongodb-1.12.0
RUN docker-php-ext-enable
memcache
mongodb
RUN docker-php-ext-enable pdo_oci oci8
thanks
The text was updated successfully, but these errors were encountered: