summaryrefslogtreecommitdiff
path: root/ext/oci8/README
blob: 42833e27c050bc01eb7bbc53e2f455bff95ccfe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
The OCI8 Extension
------------------

Use the OCI8 extension to access Oracle Database.

Documentation is at http://php.net/oci8

PHP OCI8 2.1 builds with PHP 7.

Use 'pecl install oci8' to install OCI8 for PHP 7.

Use 'pecl install oci8-2.0.10' to install OCI8 for PHP 5.2 - PHP 5.6.

Use 'pecl install oci8-1.4.10' to install OCI8 for PHP 4.3.9 - PHP 5.1.

The OCI8 extension needs to be linked with Oracle 12.1, 11, or 10.2
client libraries.  These libraries are found in your database
installation, or in the free Oracle Instant Client from
http://www.oracle.com/technetwork/database/features/instant-client/
Install the 'Basic' or 'Basic Lite' Instant Client package.  If
building from source, then also install the SDK package.

Oracle's standard cross-version connectivity applies.  For example,
PHP OCI8 linked with Instant Client 11.2 can connect to Oracle
Database 9.2 onward.  See Oracle's note "Oracle Client / Server
Interoperability Support" (ID 207303.1) for details.