PHP 8.4
If the Oracle Database is on the same machine as PHP, the database software already contains the necessary libraries. When PHP is on a different machine, use the free Oracle Instant Client libraries. For details refer to the OCI8 Requirements section.
Install
If the Oracle Database is on the same machine as PHP, the database software already contains the necessary libraries. When PHP is on a different machine, use the free Oracle Instant Client libraries. For details refer to the OCI8 Requirements section.
PHP 8.4
Moved-ver8.4.0
Info PackagePDO_OCI.
PHP < 8.4
Use --with-pdo-oci[=DIR] to install the PDO Oracle OCI extension, where the optional [=DIR] is the Oracle Home directory. [=DIR] defaults to the $ORACLE_HOME environment variable.
Use --with-pdo-oci=instantclient,prefix,version for an Oracle Instant Client SDK, where prefix and version are configured.
// Using $ORACLE_HOME
$ ./configure --with-pdo-oci
// Using OIC for Linux with 10.2.0.3 RPMs with a /usr prefix
$ ./configure --with-pdo-oci=instantclient,/usr,10.2.0.3