From: fabio at bs2 dot com dot br Operating system: FreeBSD PHP version: 5.0.4 PHP Bug Type: InterBase related Bug description: Unable to complete network request to host
Description: ------------ the interbase server is not on same computer as the script I'm using connect, the error had to be in the connect function and not in the query function. the function connect should be get the connection from the previous persistent connection. In mysql_connect function have an parameter new_link to force to create new connection, but interbase not. the version of Apache in the server where the error occurs is 2.0.54 I have the same code in other machine(development server) with Apache 1.3 and php 5.0.3 and works ok. Reproduce code: --------------- {conecting to bd using liveUser and MDB with persistent connection} $con = ibase_connect(...); $res = ibase_query($con ,"SELECT * FROM someTable"); // the error occurs here $row = ibase_fetch_assoc($res); var_dump($row); ibase_close($con); Actual result: -------------- ibase_query() [function.ibase-query]: Unable to complete network request to host "some ip". Error reading data from the connection. Bad file descriptor. -- Edit bug report at http://bugs.php.net/?id=33092&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33092&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33092&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33092&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33092&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33092&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33092&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33092&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33092&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33092&r=support Expected behavior: http://bugs.php.net/fix.php?id=33092&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33092&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33092&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33092&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33092&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33092&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33092&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33092&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33092&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33092&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33092&r=mysqlcfg