PHP 4.0 Bug #5577 Updated: php.exe hanging with php_oci8.dll

From: Date: Tue, 05 Sep 2000 00:53:12 +0000
Subject: PHP 4.0 Bug #5577 Updated: php.exe hanging with php_oci8.dll
Groups: php.dev 
Request: Send a blank email to php-dev+get-32033@lists.php.net to get a copy of this message
ID: 5577 Updated by: sniper Reported By: David.Roussin@RousselPerier.com Status: Feedback Bug Type: Oracle related Assigned To: Comments: Is this still happening with using php4.0.2 ?? --Jani Previous Comments: [2000-07-14 05:22:49] David.Roussin@RousselPerier.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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=5577

« previous php.dev (#32033) next »