oci8 1.2.4

Extension for Oracle Database


The OCI8 extension lets you access Oracle Database.

Use 'pecl install oci8' to install for PHP 8.2 and PHP 8.3.

Use 'pecl install oci8-3.2.1' to install for PHP 8.1.

Use 'pecl install oci8-3.0.1' to install for PHP 8.0.

Use 'pecl install oci8-2.2.0' to install for PHP 7.

The current OCI8 extension can be linked with Oracle Client libraries from Oracle Database 11.2 or later. (OCI8 3.0 and earlier can be linked with 10g or later). The Oracle Client libraries are in the free Oracle Instant Client from https://www.oracle.com/database/technologies/instant-client.html. They are also included in your database installation.

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

License: PHP

Changes

Added Oracle 11g support.
Fixed PECL bug #10194 (crash in Oracle client when memory limit reached in the callback).
Fixed bug #42173 (oci_field_type fixes for INTERVAL and TIMESTAMP types).
Fixed bug #42134 (oci_error() returns false after oci_new_collection() fails).
Fixed bug #41917 (oci_field_precision and oci_field_scale datatypes fixed).
Fixed bug #41711 (Null temporary lobs not supported).
Fixed bug #41594 (Statement cache is flushed too frequently).
Fixed bug #40415 (oci_fetch_all and nested cursors, allocate descriptors dynamically)
Fixed segfault on rebinding and re-executing a statement with LOBs.
Fixed compile failure in ZTS mode when collections support is missing.
Allowed statement cache size to be set for non-persistent connections.
Improved oci_password_change() to close persistent connections on shutdown (to update hashed connection details).
Changed oci_pconnect() to behave like oci_connect() when SYSDBA and SYSOPER privileges are used.
Various minor improvements.