README.md
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 8.2.
8
9Use `pecl install oci8-3.2.1` to install for PHP 8.1.
10
11Use `pecl install oci8-3.0.1` to install for PHP 8.0.
12
13Use `pecl install oci8-2.2.0` to install for PHP 7.
14
15The OCI8 extension can be linked with Oracle client libraries from Oracle
16Database 11.2 or later. These libraries are found in your database
17installation, or in the free Oracle Instant Client from
18https://www.oracle.com/database/technologies/instant-client.html
19Install the 'Basic' or 'Basic Light' Instant Client package. If building from
20source, then also install the SDK package.
21
22Oracle's standard cross-version connectivity applies. For example, PHP OCI8
23linked with Instant Client 19c can connect to Oracle Database 11.2 onward. See
24Oracle's note "Oracle Client / Server Interoperability Support" (ID 207303.1)
25for details.
26