Install oci8 Extension on CentOS 7 cPanel Server
We need to download basic and sdk instant client packages first
http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/index.html
wget http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.5-basic-18.5.0.0.0-3.x86_64.rpm
wget http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.5-devel-18.5.0.0.0-3.x86_64.rpm
rpm -Uvh oracle-instantclient18.5-basic-18.5.0.0.0-3.x86_64.rpm
rpm -Uvh oracle-instantclient18.5-devel-18.5.0.0.0-3.x86_64.rpm
Install the oci8 using pecl in your desired php version by running or From WHM Module Installers “PHP PECL” Installer oci8
/usr/bin/ea-php70-pecl install oci8
/usr/bin/ea-php71-pecl install oci8
/usr/bin/ea-php72-pecl install oci8
/usr/bin/ea-php73-pecl install oci8