Package Information |
Summary |
Extension for Oracle Database |
Maintainers |
Christopher Jones <
christopher dot jones at oracle dot com >
(lead)
[details]
Wez Furlong (lead)
[inactive]
[details]
Tianfang Yang (lead)
[inactive]
[details]
Antony Dovgal (lead)
[inactive]
[wishlist]
[details]
Andi Gutmans (lead)
[inactive]
[details]
|
License |
PHP |
Description |
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. |
Release notes
Version 1.4.0
(alpha)
|
1. Introduce connection attribute functions:
oci_set_module_name oci_set_action oci_set_client_info oci_set_client_identifier These set values that are visible/used by the database. They are useful for tracing, authentication and auditing.
2. Introduce connection attribute function:
oci_set_edition
Oracle 11g R2 "editions" allow multiple versions of DB objects to exist at one time. By setting different editions, two different versions of an application can run concurrently, making upgrading easier and faster.
3. Set the DRIVER_NAME attribute of Oracle Database 11gR2 connections to aid application tracing. The value used is to "PHP OCI8" followed by the OCI8 version number. Note the version number may get truncated in DB views such as v$session_connect_info.
4. Allow the oci_set_prefetch value to be 0. This is important in some cases using REF CURSORS in Oracle 11gR2.
5. Introduce OCI_NO_AUTO_COMMIT as an alias for the OCI_DEFAULT constant (which is not the default value) used by oci_execute().
6. Generate an error if an invalid resource type is used in oci_bind_by_name |