How to install PHP OCI8 Oracle module on Software Collections and RHEL via PECL

Solution Verified - Updated -


  • OCI8 support not available for PHP
  • How can I install the OCI8 library in RHEL?
  • How do I get php-oci8 module installed for PHP included in RHEL or in Software Collections?


  • Red Hat Enterprise Linux (RHEL) 6/7/8/9
  • Red Hat Software Collections (SCL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content