|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5577 php.exe hanging with php_oci8.dll
Submitted: 2000-07-14 05:22 UTC Modified: 2006-07-17 08:08 UTC
From: David dot Roussin at RousselPerier dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0 Release Candidate 2 OS: Win NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
14 + 8 = ?
Subscribe to this entry?

 [2000-07-14 05:22 UTC] David dot Roussin at RousselPerier dot com
As advised by here is my bug report.
(I was thinking of using php to create web application connecting to oracle in order to replace other tools .........)

I am able to connect (as long as I use the env variable ORACLE_SID see 2.) and retreive data from oracle BUT the php.exe never ends even if I make a call to exit() in my php script.

I tried to locate where it hangs (don't know if it helps)
In oci8.c, a call to OCITransRollback (in _oci_conn_list_dtor) is never returning causing php.exe to hang for ever.

I actually can not connect using alias in tnsnames.ora, I had to use the environment variable bound to my ORACLE_SID eg:

        // This Works OK:
        putenv("ORACLE_SID=db1"); // Local instance ID
        $conn = ocilogon("tigger","scott","");

        // This does *NOT* work:
        $conn = ocilogon("tigger","scott","dbalias"); // dbalias correctly configured and working with sqlplus.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-04 20:53 UTC]
Is this still happening with using php4.0.2 ??


 [2000-10-02 22:31 UTC]
No feedback.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 06:05:53 2022 UTC