ID: 38365 Updated by: [EMAIL PROTECTED] Reported By: azsd at qq dot com -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: windows 2003 PHP Version: 5.1.4 New Comment:
Yes, that's why the docs say: "Windows users will need libraries with version at least 10 to use the php_oci8.dll." We had to choose from two options: 1) limit Win32 users to Oracle 8 functionality (which was used to build oci8 previously); 2) require them to download & install additional 30-35Mb of Oracle Instant Client. The latter seems to be the best solution. Of course, it is also possible to build php_oci8.dll against Oracle 9 client, but since its installation comes with the server itself (3 CDs x 700Mb), this option was rejected. This requirement affects only Win32 users because they use precompiled php_oci8.dll, while on other systems oci8.so can be built against any version of Oracle Client. Previous Comments: ------------------------------------------------------------------------ [2006-08-07 12:43:00] azsd at qq dot com 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 this bug report at http://bugs.php.net/?id=38365&edit=1
