422d1665a2
Historically, the _ex variants separated the zval first, if a conversion was necessary. This distinction no longer makes sense since PHP 7. The only difference that was still left is that _ex checked whether the type is the same first, but the usage of these macros did not actually distinguish on whether such an inlined check is valuable or not in a given context. Also drop the unused convert_to_explicit_type macros. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
LICENSE | ||
oci8_arginfo.h | ||
oci8_collection.c | ||
oci8_dtrace.d | ||
oci8_failover.c | ||
oci8_interface.c | ||
oci8_lob.c | ||
oci8_statement.c | ||
oci8.c | ||
oci8.stub.php | ||
package.xml | ||
php_oci8_int.h | ||
php_oci8.h | ||
README.md |
The OCI8 Extension
Use the OCI8 extension to access Oracle Database.
Documentation is at https://www.php.net/oci8
Use pecl install oci8
to install for PHP 8.
Use pecl install oci8-2.2.0
to install for PHP 7.
Use pecl install oci8-2.0.12
to install for PHP 5.2 - PHP 5.6.
Use pecl install oci8-1.4.10
to install for PHP 4.3.9 - PHP 5.1.
The OCI8 extension can be linked with Oracle client libraries from Oracle Database 10.2 or later. These libraries are found in your database installation, or in the free Oracle Instant Client from https://www.oracle.com/database/technologies/instant-client.html Install the 'Basic' or 'Basic Light' 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 19c can connect to Oracle Database 11.2 onward. See Oracle's note "Oracle Client / Server Interoperability Support" (ID 207303.1) for details.