How To Install OCI8 on RunCloud Ubuntu 24.04

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

How To Install OCI8 on RunCloud Ubuntu 24.04

文章 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
回覆文章

回到「PHP」