Edit report at http://bugs.php.net/bug.php?id=52186&edit=1
ID: 52186 Updated by: s...@php.net Reported by: s...@php.net Summary: phpinfo() shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or 11.2 Status: Closed Type: Bug Package: OCI8 related Operating System: All PHP Version: 5.3SVN-2010-06-25 (SVN) Assigned To: sixd New Comment: Fixed in PHP 5.3 and trunk. Will be included in any future PECL OCI8 1.4.2 release. Previous Comments: ------------------------------------------------------------------------ [2010-06-25 23:14:36] s...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2010-06-25 23:09:15] s...@php.net Automatic comment from SVN on behalf of sixd Revision: http://svn.php.net/viewvc/?view=revision&revision=300752 Log: Fix bug #52186 (phpinfo shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or 11.2) ------------------------------------------------------------------------ [2010-06-25 22:15:22] s...@php.net Description: ------------ When the OCI8 extensions is installed using an ORACLE_HOME (not Instant Client) 10.2 or 11.2, the compile time Oracle version shown by phpinfo() is 10.1 or 11.1. This is because the displayed value is derived from an Oracle library filename extension which, for drop-in compatibility, is not updated for the patch releases of Oracle. Also in some cases installing from PECL no version is shown at all because the PHP build scripts can't define the required macro. The fix is to use the OCI_MAJOR_VERSION and OCI_MINOR_VERSION macros in oci8.c. These macros are available with Oracle libraries 10.2 onwards. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52186&edit=1