php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57108 oci_pconnect() fails if network connection goes up and down again
Submitted: 2006-06-23 11:52 UTC Modified: 2006-06-23 11:56 UTC
From: ealtin at parkyeri dot com Assigned:
Status: Not a bug Package: oci8 (PECL)
PHP Version: 4.4.1 OS: Linux
Private report: No CVE-ID: None
 [2006-06-23 11:52 UTC] ealtin at parkyeri dot com
Description:
------------
I'll let the error message speak for itself:

General error (2): oci_pconnect(): OCI_INVALID_HANDLE in /usr/share/php/DB/oci8.php:240

I can easily reproduce the error, this happens when the connection to the Oracle server goes down and up again.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-23 11:54 UTC] ealtin at parkyeri dot com
I'm testing this with oci8 from CVS HEAD.
 [2006-06-23 11:56 UTC] tony2001 at phpclub dot net
Use oci8.ping_interval INI options to check connections before reusing them. This options was created exactly for that.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC