ID: 36139 User updated by: max__payne at list dot ru Reported By: max__payne at list dot ru -Status: Feedback +Status: Open Bug Type: OCI8 related Operating System: Win 2003 Server Standard R2 PHP Version: 5.1.2 New Comment:
I use client Oracle 9i client libraries. They are not compatible with PHP 5.1.2? Previous Comments: ------------------------------------------------------------------------ [2006-01-24 20:15:39] [EMAIL PROTECTED] >Oracle Call Interface I'm sure it's OCI, but I was asking about its version. I mean are you using Oracle Instant Client _10_ or old libraries from Oracle _8i_ or _9i_ ? Short version: install Instant Client and see if it works. ------------------------------------------------------------------------ [2006-01-24 19:26:58] max__payne at list dot ru Oracle Call Interface Revision: 1.257.2.8 ------------------------------------------------------------------------ [2006-01-24 12:28:45] [EMAIL PROTECTED] What version of client libraries are you using? ------------------------------------------------------------------------ [2006-01-24 12:13:13] max__payne at list dot ru Description: ------------ Calls to oci_parse() sometimes hangs up server. Oracle server is Oracle 8.1.7.0.0 with update to 8.1.7.2.1 running under Windows 2000 Server SP 4 (P IV CPU). With older versions of PHP (5.0.5) this code works fine. Reproduce code: --------------- $connection = oci_connect($username, $password, $tns_name); $st = oci_parse($connection, "SELECT * FROM nextmonthbirthdays"); oci_execute($st, OCI_DEFAULT); $res = oci_fetch_assoc($st); while($res) { echo $res{"FIO"} . "<br>"; $res = oci_fetch_assoc($st); } oci_free_statement($st); oci_close($connection); Expected result: ---------------- List of names one per line expected, instead see nothing while script is running. Actual result: -------------- Script above has no output, it hangs up server. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36139&edit=1