xref: /PHP-7.4/ext/oci8/README.md (revision 1c53afbe)
1# The OCI8 Extension
2
3Use the OCI8 extension to access Oracle Database.
4
5Documentation is at https://www.php.net/oci8
6
7Use `pecl install oci8` to install for PHP 7.
8
9Use `pecl install oci8-2.0.12` to install for PHP 5.2 - PHP 5.6.
10
11Use `pecl install oci8-1.4.10` to install for PHP 4.3.9 - PHP 5.1.
12
13The OCI8 extension needs to be linked with Oracle 18, 12, 11, or 10.2 client
14libraries. These libraries are found in your database installation, or in the
15free Oracle Instant Client from
16https://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html
17Install the 'Basic' or 'Basic Light' Instant Client package. If building from
18source, then also install the SDK package.
19
20Oracle's standard cross-version interoperability applies. For example, PHP OCI8
21linked with Instant Client 11.2 can connect to Oracle Database 9.2 onward. See
22Oracle's note "Oracle Client / Server Interoperability Support" (ID 207303.1)
23for details.
24