|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-12 05:02 UTC] vincomaldini at hotmail dot com
[2004-08-13 17:41 UTC] tony2001@php.net
[2004-08-21 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 22:00:01 2025 UTC |
Description: ------------ Platform: ========= PHP 5.0 (Release) Windows 2000 server IIS 6.0 (PHP runs as ISAPI module) Oracle 9i Client Tools (Admin) ORACLE_HOME correctly set as system variable Oracle Databae 9i installed on a separate reachable server (i tested sqlplus). IUSR_XXXX has correct permissions to C:\PHP and C:\Oracle\Ora92 directories. IMPORTANT: Simply replacing PHP 5 with PHP 4.3.4 works Reproduce code: --------------- <?php $dbConnString = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST = myserver)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mydb)))"; $conn = OCILogon('username', 'password', $dbConnString); if( $conn ) echo "Connected:" . OCIServerVersion( $conn ); else { echo "Not Connected"; exit(); } $query = "SELECT * FROM LoginBackOffice"; $statement = OCIParse ($conn, $query); OCIExecute ($statement); while (OCIFetchInto ($statement, $row, OCI_ASSOC)) { echo "<hr>"; print_r( $row ); } ocilogoff( $conn ); ?> Expected result: ---------------- 2 rows of data!!!! Actual result: -------------- Script hangs indefinitly