#32361 [Opn->Asn]: connection oci_connect stay persist after process the php
| From: | sniper@php.net | Date: | Tue, 20 Dec 2005 15:18:20 +0000 |
| Subject: | #32361 [Opn->Asn]: connection oci_connect stay persist after process the php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90731@lists.php.net to get a copy of this message | ||
ID: 32361
Updated by: sniper@php.net
Reported By: diego dot veiga at embraer dot com dot br
-Status: Open
+Status: Assigned
Bug Type: OCI8 related
Operating System: Fedora3
PHP Version: 5CVS, 4CVS (2005-03-22)
Assigned To: tony2001
New Comment:
tony2001: Still not fixed..?
Previous Comments:
------------------------------------------------------------------------
[2005-12-20 16:14:27] diego dot veiga at embraer dot com dot br
Hi,
I just installed the latest cvs snapshot and executed the query but the
connection continues persistent.
regards
------------------------------------------------------------------------
[2005-12-20 14:04:25] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-09-08 11:46:32] tony2001@php.net
The bug has been fixed in OCI8 v.1.1, which is available in CVS HEAD
and PECL (use
pear install oci8-beta to install it).
------------------------------------------------------------------------
[2005-06-17 16:09:38] emiliano dot ticci at dada dot net
While waiting for an official fix I solved by commenting and
decommenting some lines. This is my diff file for oci8.c (Php 5.0.4):
1103c1103
< #if 0
---
> /* #if 0 commented to avoid connection stay persist */
1109c1109
< #endif
---
> /* #endif */
3204a3205
> /* Prevents a recursive call to this function (?)
3207a3209
> */
I don't know if this could be a good solution, however it seems to work
perfectly...
Sorry for my poor english.
------------------------------------------------------------------------
[2005-03-21 17:45:27] diego dot veiga at embraer dot com dot br
I upgraded the php to 5.0.3 and reproduce the same error, it seems the
oci_connect is working like the oci_pconnect.
Does anybody has an idea?
------------------------------------------------------------------------
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/32361
--
Edit this bug report at http://bugs.php.net/?id=32361&edit=1