参考:
https://stackoverflow.com/questions/47833041/unable-to-load-dynamic-library-oci8-so-php-7-2/53504052
# Install Oracle instantclient and oci8 extension RUN mkdir /opt/oracle \ && curl 'https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-basic-linux.x64-19.6.0.0.0dbru.zip' --output /opt/oracle/instantclient-basic-linux.zip \ && curl 'https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-sdk-linux.x64-19.6.0.0.0dbru.zip' --output /opt/oracle/instantclient-sdk-linux.zip \ && unzip '/opt/oracle/instantclient-basic-linux.zip' -d /opt/oracle \ && unzip '/opt/oracle/instantclient-sdk-linux.zip' -d /opt/oracle \ && rm /opt/oracle/instantclient-*.zip \ && mv /opt/oracle/instantclient_* /opt/oracle/instantclient \ && docker-php-ext-configure oci8 --with-oci8=instantclient,/opt/oracle/instantclient \ && docker-php-ext-install oci8 \ && echo /opt/oracle/instantclient/ > /etc/ld.so.conf.d/oracle-insantclient.conf \ && ldconfig
------------正 文 已 结 束, 感 谢 您 的 阅 读 (折雨的天空)--------------------
转载请注明本文标题和链接:《tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/oci8.so》
发表评论