From: azsd at qq dot com Operating system: windows 2003 PHP version: 5.1.4 PHP Bug Type: OCI8 related Bug description: php 5.x using OCILobRead2 which only avalibe in 10g oci.dll
Description: ------------ php_oci8.dll in php 5 using an function OCILobRead2 that incompatible with 9i and 8i. I searched out bug #37287 but It's only a workround. I think drop an 10g version oci.dll somewhere on a web server with oracle 9i database server installed should make other application fall into version conflict. the OCILobWrite and others Lob Function is either none "2" version, so I can assurance its a bug. I try to midify the code of php_oci8 but my vc 7.1 produced an crashed (memory access violate) php5ts.dll and php_oci8.dll. I have used a Q&D fix (edited the import table using LordPE) for this problem now, but through the callback function of OCILobRead2 and OCILobRead have differnt argument,I hope it can fix from source offically. Reproduce code: --------------- <?php phpinfo() ?> and set display_startup_errors = On Expected result: ---------------- a table entry OCI8 Support enabled be displayed Actual result: -------------- Unable to load dynamic library "D:/PHP/ext/php_oci8.dll" -- Edit bug report at http://bugs.php.net/?id=38365&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38365&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38365&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38365&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38365&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38365&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38365&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38365&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38365&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38365&r=support Expected behavior: http://bugs.php.net/fix.php?id=38365&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38365&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38365&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38365&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38365&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38365&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38365&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38365&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38365&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38365&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38365&r=mysqlcfg