ID:               35205
 Updated by:       [EMAIL PROTECTED]
 Reported By:      robertg2 at hope dot ac dot uk
-Status:           Open
+Status:           Assigned
 Bug Type:         OCI8 related
 Operating System: Solaris 8
 PHP Version:      5.0.5
 Assigned To:      tony2001
 New Comment:

It'll take some time for me to install OCI client at Solaris and build
PHP --with-oci8, so I doubt I'll be able to do it in the nearest days.

Though, that doesn't mean that I won't do it at all.
I believe it'd be easier to install debugger and to see if this is a
problem of PHP or a problem of Oracle Client on Solaris (and to help
*yourself* this way).
Reconfirming and re-re-confirming doesn't add any value, believe me.


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

[2005-11-13 21:32:32] robertg2 at hope dot ac dot uk

Ahh Tony.  Last time I touched C was in 1997... there's no debugger
installed... space on /usr/local is severely limited... this PHP
project has got to be finished by Wednesday... and if anything breaks
again tonight it'll be my head on a stick on Monday morning.

That is, I'd love to help right now but am not able to.  

Have reconfirmed the behaviour again.  Also, thought this snippet might
be of some use:

<?php
$conn = oci_connect("user", "pw", "db");
echo oci_close($conn);
?>

oci_close($conn) returns 1 and 'netstat -an | grep 1521.*ESTABLISHED |
wc -l' does NOT increment.  That is, if oci_close is called the
connection closes, but if it doesn't it stays open forever.

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

[2005-11-13 20:23:03] [EMAIL PROTECTED]

Just to be sure:
Do you have a debugger there?
If yes, please check that functions "php_oci_connection_close" and
"OCIServerDetach" are being called (just set a breakpoint there),
'cause I'm absolutely sure I can't reproduce it on Linux.
Thanks.

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

[2005-11-13 18:36:29] [EMAIL PROTECTED]

I'll check it out.

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

[2005-11-13 17:25:46] robertg2 at hope dot ac dot uk

Would the fact that it's being run with Apache2 using a threaded MPM
have anything to do with it?

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

[2005-11-13 14:52:15] robertg2 at hope dot ac dot uk

Hi Wez,

It's definitely 1.1.1 - unless I've gone totally delirious.  phpinfo()
reports oci8 '$Revision: 1.274 $' (??), and lists the new oci8
directives and default values.

If you'd like the URL to the phpinfo() page, give me a shout.

Thanks,
Gareth

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

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/35205

-- 
Edit this bug report at http://bugs.php.net/?id=35205&edit=1

Reply via email to