X

The leading edge of scripting languages and Oracle Database brought to you by the Data Access Development team

  • php |
    August 15, 2017

PHP OCI8 2.1.7 for Oracle Database is now on PECL

Christopher Jones
Senior Principal Product Manager

PHP 7 compatible OCI8 2.1.7 for Oracle Database is now on PECL.

This version of OCI8 will also be bundled in PHP 7.0.23 and PHP 7.1.9 (and is already in PHP 7.2.0beta2). Older PHP 7 installations can be brought up to date using the PECL bundle.

The highlight of this release is Transparent Application Failover (TAF) callback support:

In a configured Oracle Database system, TAF occurs when the PHP application detects that the database instance is down or unreachable. It establishes a connection to another node in an Oracle RAC configuration, a hot standby database, or the same database instance itself.

The new OCI8 TAF callback feature allows a PHP function to be invoked during failover, allowing applications to decide how to handle the change. For example the callback function can fixup any application session state and continue processing so users are unaware of the database change.

The TAF callback feature originated from a Pull Request by KoenigsKind.

This release also fixes a potential integer overflow in oci_bind_array_by_name(), with a patch by Ingmar Runge.

Our grateful thanks for both these submissions to OCI8.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services