You will learn how to install oci8 for EA-PHP by following the steps in this topic. Visit our website for more information.

Introduction:-The PHP extension oci8 is not part of EasyApache 4 and will need to be installed manually using pecl.

Follow the Procedure:-

  1. To fulfill all dependencies, download the most recent Oracle Instant Client RPMs.
rpm -Uvh

If the URLs above return a 404 you’ll need to visit the Oracle Instant Client Download page and update the URL accordingly.

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
ea-php74-pecl install oci8

We hope that you now have a good understanding of How To Install oci8 for EA-PHP. If you continue to have problems with the protocol outlined above, please contact the Team for constructive assistance 24×7