oci8 pecl.php.net Extension for Oracle Database This extension allows you to access Oracle databases. It can be built with PHP 4.3.9 to 5.x. It can be linked with Oracle 9.2, 10.2, 11.1, or 11.2 client libraries. Christopher Jones sixd sixd@php.net yes Antony Dovgal tony2001 tony2001@php.net yes Wez Furlong wez wez@php.net no Andi Gutmans andi andi@zend.com no 2012-10-21 1.4.9 1.4.9 stable stable PHP Re-fixed bug #60901 (Improve "tail" syntax for AIX installation) 4.3.9 5.4.99 1.4.0b1 oci8 1.4.8 1.4.8 stable stable PHP Fixed bug #63307 (Unused variable in oci8.c) Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro) Fixed bug #60901 (Improve "tail" syntax for AIX installation) 1.4.7 1.4.7 stable stable PHP Fixed bug #59985 (show normal warning text for OCI_NO_DATA) Fixed OCI8 part of bug #55748 (CVE-2011-4153: multiple NULL pointer dereferences with zend_strndup) Fixed OCI8 part of bug #55301 (multiple null pointer dereferences with calloc) Increased maximum Oracle error message buffer length for new Oracle 11.2.0.3 size Improve internal initalization failure error messages 1.4.6 1.4.6 stable stable PHP Added oci_client_version() returning the runtime Oracle client library version Made OCI8 extension buildable with PHP 5.4-development code 1.4.5 1.4.5 stable stable PHP Protect against null bytes in LOB filenames (http://news.php.net/php.internals/50202) 1.4.4 1.4.4 stable stable PHP Fixed bug #53284 (Valgrind warnings in oci_set_* functions) Enhancement - improve startup failure error messages 1.4.3 1.4.3 stable stable PHP Fixed bug #51610 (Using oci_connect causes PHP to take a long time to exit). Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix 9891199) for this patch to have an effect. 1.4.2 1.4.2 stable stable PHP Fixed bug #52186 (phpinfo() shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or 11.2) Fixed bug #51691 (Unnecessary realloc causes crashes in PHP trunk tests with interned strings) Fixed bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) Fixed bug #51291 (oci_error doesn't report last error when called two times) OCI8 1.4.2 is included in PHP 5.3.3 1.4.1 1.4.1 stable stable PHP Fixed bug #49560 (Using LOBs causes slow PHP shutdown) Fixed bug #47281 ($php_errormsg is limited in size of characters) 1.4.0 1.4.0 alpha alpha PHP 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 7. Bug fixes: PECL bug #16842 (oci_error returns false when NO_DATA_FOUND is raised) 1.3.5 1.3.4 stable stable PHP Fixed bug #47243 (Crash at end of request shutdown on Windows) Fixed bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored procedure) Fixed bug #46623 (phpinfo doesn't show compile time ORACLE_HOME with phpize) Fixed bug #45458 (Numeric keys for associative arrays are not handled properly) Note: not fixed when building with PHP 4 due to lack of PHP internal helper. Fixed PECL bug #16035 (oci_connect without ORACLE_HOME defined causes segfault) Fixed PECL bug #15988 (sqlnet.ora isn't read with older Oracle libraries) Fixed PECL bug #14268 (Allow "pecl install oci8" command to "autodetect" an Instant Client RPM install) 1.3.4 1.3.4 stable stable PHP Enhancement - Allow External Authentication (not supported on Windows) Enhancement - Reflection will show function and method arguments with PHP 5.x Increase default oci8.default_prefetch from 10 to 100 Correctly define SQLT_BDOUBLE and SQLT_BFLOAT constants with Oracle 10g ORACLE_HOME builds 1.3.3 1.3.3 stable stable PHP Changed OCI NLS initialization for consistency and technical correctness Removed obsolete macros 1.3.2 1.3.2 beta beta PHP Refine DRCP connection pooling functionality Do scope-end release for oci_pconnect (oci8.old_oci_close_semantics=1 gives old behavior) Fixed bug #44372 (compilation with Oracle 10gR1 libraries) Fixed PECL bug #12431 (PEAR install using x86_64 RPM builds) Allow builds with PHP 4.3.9 onwards 1.3.1 1.3.1 beta beta PHP Fixed bug #44113 (New collection creation can fail with OCI-22303) Fixed bug #42841 (Crash with REF CURSORS when statement caching enabled) Fixed bug #42496 (Cursor leak selecting LOBs Fixed bug #43497 (Temporary LOB leak) Fixed PECL bug #12431 (ping functionality is broken) Allow compilation with 64bit Instant Client RPMs Allow -with-oci8=instantclient with no directory specified look for RPM install Refine DRCP functionality 1.3.0 1.3.0 beta beta PHP Added DRCP and FAN support. 1.2.5 1.2.5 stable stable PHP This release is based on the OCI8 included in PHP 5.2.6, with the addition of the fix for http://pecl.php.net/bugs/bug.php?id=13523. -------- Fixed bug #42496 (cursor leak selecting LOBs http://bugs.php.net/bug.php?id=42496 Fixed bug #42841 (crash with REF CURSORS when statement caching enabled) http://bugs.php.net/bug.php?id=42841 Fixed bug #43497 (Temporary LOB leak) http://bugs.php.net/bug.php?id=43497 Fixed bug #44206 (OCI8 selecting ref cursors leads to ORA-1000 maximum open cursors reached). Fixed bug #44008 (OCI8 incorrect usage of OCI-Lob->close crashes PHP). Fixed bug #44113 (new collection creation can fail with OCI-22303) http://bugs.php.net/bug.php?id=44113 Enhancement - make -with-oci8=instantclient with no directory specified look for RPM install Enhancement - compile with 64bit Instant Client RPMs (bug http://bugs.php.net/bug.php?id=41941, http://pecl.php.net/bugs/bug.php?id=13523) 1.2.4 1.2.4 stable stable PHP 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. 1.2.3 1.2.3 stable stable 2007-01-25 PHP Fixed possible segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order. Fixed bug #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()). Fixed bug #39988 (type argument of oci_define_by_name() is ignored). Fixed bug #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit). Fixed PECL bug #8816 (issue in php_oci_statement_fetch with more than one piecewise column). Various minor improvements. 1.2.2 1.2.2 stable stable 2006-08-24 PHP Reimplemented oci_lob_read() utilities using patch from Massimo Squillace (msquillace at sogei dot it), which should fix Unicode LOB problems. Fixed bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) Fixed bug #38173 (Freeing nested cursors causes OCI8 to segfault) Fixed bug #37886 (oci_connect may crash when charset parameter is given) Fixed bug #37931 (possible crash after database restart when using persistent connections) Fixed bug #37531 (oci8 persistent connection corruption) Fixed bug #37487 (oci_fetch_array() array-type should always default to OCI_BOTH) Fixed bug #37392 (Unnecessary call to OCITransRollback() at the end of request) Fixed bug #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field) Fixed bug #34005 (oci_password_change() fails). Patch by pholdaway at technocom-wireless dot com. Fixed PECL bug #8112 (Persistent connections misbehave when Apache process times out) 1.2.1 1.2.1 stable stable 2006-05-02 PHP Added support for BINARY_DOUBLE and BINARY_FLOAT (see #36764) Changed oci_field_type() to return VARCHAR2 instead of VARCHAR (according to feature request #36800) Fixed bug #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields) Fixed bug #37055 (incorrect reference counting for persistent OCI8 connections) Fixed bug #36934 (OCILob->read() doesn't move internal pointer when reading 0's) Fixed bug #36851 (Documentation and code discrepancies for NULL data) Fixed bug #36820 (Privileged connection with an Oracle password file fails) 1.2.0 1.2.0 stable stable 2006-03-16 PHP Changed OCI8 code to use OCIServerVersion() instead of OCIPing(), which may crash Oracle server of version < 10.2 Fixed bug #36235 (ocicolumnname returns false before a succesfull fetch) Fixed bug #36096 (oci_result() returns garbage after oci_fetch() failed) Fixed bug #36055 (possible OCI8 crash in multithreaded environment) Fixed bug #36010 (Segfault when re-creating and re-executing statements with bound parameters) Fixed PECL bug #5571 (oci_new_connect() not closed by oci_close()) Fixed bug #33383 (crash when retrieving empty BLOBs) 1.1.1 1.1.1 beta beta 2005-09-22 PHP Fixed segfault when binding empty values. Fixed problem with oci_error() without arguments. 1.1 1.1 beta beta 2005-09-07 PHP This release fixes a huge amount of bugs and adds support of statement caching, external credentials etc. See official announce for details. 1.0 1.0 beta beta 2004-03-19 PHP package.xml added to support installation using pear installer