php.net |  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
 [2000-07-14 05:22 UTC] David dot Roussin at RousselPerier dot com
As advised by thies@digicol.de here is my bug report.
(I was thinking of using php to create web application connecting to oracle in order to replace other tools .........)

1.
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.

2.
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.

Thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani

 [2000-10-02 22:31 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 19:01:29 2024 UTC