ID: 33092 Updated by: [EMAIL PROTECTED] Reported By: fabio at bs2 dot com dot br -Status: Open +Status: Feedback Bug Type: InterBase related Operating System: FreeBSD PHP Version: 5.0.4 New Comment:
Please provide a complete reproducing script. (one that starts with <?php, ends with ?> ) Previous Comments: ------------------------------------------------------------------------ [2005-05-21 16:49:53] fabio at bs2 dot com dot br in one test without the connection persistent connection of liveUser the error occurs too. ------------------------------------------------------------------------ [2005-05-21 16:47:36] fabio at bs2 dot com dot br 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 this bug report at http://bugs.php.net/?id=33092&edit=1