How to install php72-php-oci8 on Amazon Linux
A module for PHP applications that use OCI8 databases
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 7.2.34 |
Description
The php72-php-oci8 packages provides the OCI8 extension version 2.2.0 and the PDO driver to access Oracle Database. The extension is linked with Oracle client libraries 19.10 (Oracle Instant Client). For details, see Oracle's note "Oracle Client / Server Interoperability Support" (ID 207303.1). You must install libclntsh.so.19.1 to use this package, provided by Oracle Instant Client RPM available from Oracle on: https://www.oracle.com/database/technologies/instant-client/downloads.html Documentation is at http://php.net/oci8 and http://php.net/pdo_oci
Built for Amazon Linux.
Install
php72-php-oci8 on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php72-php-oci8
Package downloads require an active GetPageSpeed subscription — one repository for php72-php-oci8 and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php72-php-oci8 on Amazon Linux?
Add the GetPageSpeed repository, then install the php72-php-oci8 package with your system package manager.
Which Amazon Linux versions is php72-php-oci8 available for?
php72-php-oci8 is available for Amazon Linux 2.