The OCI8 extension for Oracle Database can be linked with Oracle's client libraries called “Oracle Instant Client”.
–with-oci8=shared. You can also pass the Instant Client path, for example
–with-oci8-11g=shared. You can also pass the Instant Client path, for example
php_oci8_11g.dll) to the extensions directory and edit
extension_dirto that path. Enable the extension in
It is not possible to build statically oci8 and oci8_11g at the same time (a configure check checks it).
Instant Client is free and has a permissive license, allowing development, deployment and distribution of the Oracle libraries.
Download: Oracle Instant Client
The php_oci8.dll released with PHP 5.1 and 5.2 used Oracle Instant Client 10gR2 (aka 10.2). PHP 5.3 uses Instant Client 10g and 11g.