ID:               38365
 User updated by:  azsd at qq dot com
 Reported By:      azsd at qq dot com
-Status:           Bogus
+Status:           Open
 Bug Type:         OCI8 related
 Operating System: windows 2003
 PHP Version:      5.1.4
 New Comment:

I can't determine an oracle 9i server with two versions client will
make what kind behavor of other applications.

If I add the instant client at end of path, php will still using 9i
oci.dll, but if I added it in path beyond of 9i bin dirctionay,i found
other applications will using some 9i dll and 10g dll both.and I don't
know is the server it self using some undocument api that only avalible
in 9i.

Is there some option make php search dll in  without affect system
environment?

It's not possible to get anthor box runing webserver because my boss
will not agree

I can not understand if its break to oci10 first and then doc suggest
people using 10g client and why the 4.x php_oci8.dll using OCILobRead
working fine with 8i and 9i,
if there is planed why only 1 of 66 api incomplible to 9i.


Previous Comments:
------------------------------------------------------------------------

[2006-08-07 12:56:54] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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

Reply via email to