PHP 4.0 Bug #4062: Interbase functions don't work with IB 6.0
| From: | hubbardj at earthlink dot net | Date: | Thu, 06 Apr 2000 18:05:45 +0000 |
| Subject: | PHP 4.0 Bug #4062: Interbase functions don't work with IB 6.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17684@lists.php.net to get a copy of this message | ||
From: hubbardj@earthlink.net
Operating system: Suse Linux 6.3
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Other
Bug description: Interbase functions don't work with IB 6.0
Running Apache 1.3.12 with recently dl'd 4.0RC1 and
the InterBase 6.0 Linux install...
The following :
<pre>
$db = ibase_connect($host,$user,$password);
$sql = "SELECT * FROM Test";
$result = ibase_query($db,$sql);
$row = ibase_fetch_row($result);
print "ID : " . $row["test_id"] . " : " .
$row["test_string"];
</pre>
Produces absolutely nothing except the text I embedded. I saw a function
'ibase_errmsg()' in the source code but it doesn't do anything when I call it, I
assume it's defined but currently does nothing.
When I changed the array references to 0 and 1, I get this in a popup window (IE 5.0) :
Internet Explorer cannot open the Internet site http://xxx.xxxxxxx.xx.xxx/test.php. The server
returned and invalid or unrecognized response.
I configured PHP like this '--with-apache=../apache_1.3.12 --with-ibase'. My IB install
is in /usr/local/interbase with /usr/interbase a symbolic link pointing to it. It seemed to compile
fine, but for some reason it included MySQL and GD support, neither of which I actually want.
I'm not sure that is related to this anyway.