ID: 28924
Comment by: dima at ss2 dot dimych dot sumy dot ua
Reported By: ben at grinvalds dot net
Status: Open
Bug Type: OCI8 related
Operating System: Windows XP
PHP Version: 5.0.0RC3
Assigned To: tony2001
New Comment:
I have same problem but with IIS SAPI.
Changing OCIPLogon/OCILogoff to OCI_NEW_CONNECT/OCI_CLOSE help to fix
problem. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2004-10-26 13:50:40] lisandrofalcon at hotmail dot com
using php 5.0.3 + apache-1.3.31 + win2000.
the problem fixed changing conection functions ocilogon/ocilogoff by
oci_new_connect /oci_close. in the php manual you can read this
functions are deprecated for php5 >=.
------------------------------------------------------------------------
[2004-10-01 11:42:20] marcin at mikronika dot pl
I had the same problem but I think I resolve it:
- remove all "putenv" function from your code!
- replace function names : "ocilogon","oci_connect", "oci_pconnect"
etc. on: "oci_new_connect"!
No more apache crashes. Tested on 2 machines with
win 2000 php 5.0.1 / 5.0.2.
------------------------------------------------------------------------
[2004-09-30 23:33:33] cdcampos at netcabo dot pt
I have an application running on PHP5, using OCI8, and the only
scenario in which I was able have some stability is with 5.0.0 (like
Tanis reported above). Even so, it hangs every now and then, and Apache
needs to be restarted.
I looked at the change log in 5.0.2 and found nothing about this
(serious) problems with the extension. I have upgraded my application
to version 5, mostly because of the SOAP functions, but it seems that
the OCI8 extension was not ready yet...
------------------------------------------------------------------------
[2004-09-23 13:56:32] andrew at onvol dot net
I have to same problem and I've tried with the following setups:
windows 2K/Apache2.0.50/PHP5.0.1(SAPI)/Oracle 9.2
windows 2K/Apache1.3.31/PHP5.0.1(SAPI)/Oracle 9.2
Seems to work fine with CGI.
------------------------------------------------------------------------
[2004-08-25 14:42:29] wreckmybike at yahoo dot com
Here�s the setup: windows XP/Apache2.0.50/PHP5.0.0(SAPI)/Oracle 9.2
Applications interacting with OCI8 (logon, parse, execute,
fetch,logoff), which worked as expected using the latest PHP4 release,
resulted in an apache2 crash. "Parent: child process exited with status
3221225477 -- Restarting"..
I then upgraded to PHP5.0.1 which seems to have fixed the above crashes
but now causes every couple of requests to result in the browser hanging
- waiting for the server response. If I hit the browsers refresh button
it forces a response. I suspect it has something to do with the OCI8
Logon/Logoff function.
I have none of these issues when running PHP5 as a CGI.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28924
--
Edit this bug report at http://bugs.php.net/?id=28924&edit=1