1 頁 (共 1 頁)

How To Install OCI8 on RunCloud Ubuntu 24.04

發表於 : 2024-11-04 20:52:37
yehlu
https://gist.github.com/syahzul/8f29a34 ... 4ba123d4ba

https://download.oracle.com/otn_softwar ... .24.07.zip
https://download.oracle.com/otn_softwar ... .24.07.zip

sudo su
mkdir /opt/oracle
cd /opt/oracle/
unzip instantclient-basic-linux.x64-23.5.0.24.07.zip
unzip instantclient-sdk-linux.x64-23.5.0.24.07.zip
echo /opt/oracle/instantclient_23_5/ > /etc/ld.so.conf.d/oracle-instantclient.conf
ldconfig
pecl install oci8 --with-oci8=shared,instantclient,/opt/oracle/instantclient_23_5/
ln -s /etc/php/8.3/mods-available/oci8.ini 20-oci8.ini
apt-get install libaio1t64
ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1