PHP OCI8 1.4.0 Alpha is now available

I just released an Alpha version of PECL OCI8 1.4 on http://pecl.php.net/package/oci8
The code is also merged to what will eventually be the PHP 5.3.2 and PHP 6.0 releases.

Documentation will appear on http://www.php.net/manual/en/ref.oci8.php
in the next few days, if all goes according to plan.

From the Changelog:

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
"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

Comments:

Docs for the new functionality should be pushed out to the mirrors later today. Currently the new pages are on the master http://www.php.net/manual/en/ref.oci8.php

Posted by Chris Jones on October 09, 2009 at 03:24 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

Tourists looking out over an Opal mine
I work in the Linux Engineering team at Oracle, espousing the Oracle-PHP-Apache-Linux ("OPAL") stack. I also assist with Python, Perl and Ruby.
Email: christopher.jones@oracle.com
Twitter: http://twitter.com/ghrd
Book: Free PHP Oracle book
Download: PHP Linux RPMs with the OCI8 extension
Links: OTN PHP Developer Center

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today