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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ealtin at parkyeri dot com
New email:
PHP Version: OS:

 

 [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: Sun Dec 22 01:01:30 2024 UTC