From:             sixd
Operating system: All
PHP version:      5.3SVN-2010-06-25 (SVN)
Package:          OCI8 related
Bug Type:         Bug
Bug description:phpinfo() shows 10.1 or 11.1 when installed with ORACLE_HOME 
10.2 or 11.2

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 bug report at http://bugs.php.net/bug.php?id=52186&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=52186&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=52186&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=52186&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=52186&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52186&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=52186&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=52186&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=52186&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=52186&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=52186&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=52186&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=52186&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=52186&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=52186&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52186&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52186&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=52186&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=52186&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=52186&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=52186&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=52186&r=mysqlcfg

Reply via email to