How to Install oci8 for EA-PHP

February 24, 2023 / General Discussion

If you are having trouble installing oci8 for EA-PHP, this Article will provide you with instructions on how to install oci8 for EA-PHP.

Follow the instructions for installing oci8 in EA-PHP.

1. Download the latest recent Oracle Instant Client RPMs to satisfy all prerequisites.

rpm -Uvh 

https://download.oracle.com/otn_software/linux/instantclient/19800/oracle-instantclient19.8-basic-19.8.0.0.0-1.x86_64.rpm 

https://download.oracle.com/otn_software/linux/instantclient/19800/oracle-instantclient19.8-devel-19.8.0.0.0-1.x86_64.rpm

2. Use pecl, install the oci8 extension

PHP 5.4 to 5.6

ea-php54-pecl install oci8-2.0.12
ea-php55-pecl install oci8-2.0.12
ea-php56-pecl install oci8-2.0.12

PHP 7.0 and above

ea-php70-pecl install oci8
ea-php71-pecl install oci8
ea-php72-pecl install oci8
ea-php73-pecl install oci8

We sincerely hope that you must now have got a clear idea regarding How to Install oci8 for EA-PHP. However, if you are still facing any difficulty in the procedure mentioned above, feel free to reach out to the bodHOST Team for proactive support 24×7.

Leave a Reply

Your email address will not be published. Required fields are marked *