From: [EMAIL PROTECTED] Operating system: Linux (RH) PHP version: 4.2.1 PHP Bug Type: OCI8 related Bug description: cannot use 2 database connections
If you have created 2nd connection, you cannot use 1st connection. I think 2nd connection doesn't create its own Oracle cursor till first oraparse/exec executed === cut === //1. Connect and exec OK. $conn_id1 = ociLogon("test","test123"); $stmt1 = ociparse($conn_id1,"select count(*) from tbl_lang_"); ociexecute($stmt1); //2. Connect OK. $conn_id2 = ociLogon("book1","book123"); //3. Exec fails! $stmt1 = ociparse($conn_id1,"select count(*) from tbl_lang_"); ociexecute($stmt1); === cut === -- Edit bug report at http://bugs.php.net/?id=20006&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20006&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20006&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20006&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20006&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20006&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20006&r=support Expected behavior: http://bugs.php.net/fix.php?id=20006&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20006&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20006&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20006&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20006&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20006&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20006&r=isapi