oci8

pecl install oci8

Extension for Oracle Database

The OCI8 extension lets you access Oracle Database.

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

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.

Maintainer

  • Christopher Jones (lead )
  • Tianfang Yang (lead ) [inactive]
  • Antony Dovgal (lead ) [inactive]
  • Wez Furlong (lead ) [inactive]
  • Andi Gutmans (lead ) [inactive]

Details

Stars: 36505
Issue openned: 816
Downloads: 4264012
1.2.4
17 years ago
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 1.2.4 change log

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.

requires:

  • php >=4.3.11<=6.0.0
  • pearinstaller >=1.4.0b1