PHP6 Interbase: fatal error
| From: | Manuel Rodriguez | Date: | Tue, 30 Oct 2001 00:01:53 +0000 |
| Subject: | PHP6 Interbase: fatal error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4789@lists.php.net to get a copy of this message | ||
Hello everyone,
I need some of your expertise in order to solve the following problem:
I compiled/Installed PHP406 in a Linux Mandrake box with interbase support,
compilation ok no errors to be served
as a module for Apache 1.3.20. Both compilations ran ok and server is up and
running. Phpinfo() shows everything as expected.
Later, for testing purposes I opened a php file (test1.php) :
<?
$link=ibase_connect("localhost:/home/data/testdatabase.gdb","MYLOGIN-STRING"
,"MYPWD-STRING");
$qry='select fecha,venta from rates';
$cli=ibase_query($link,$qry);
print "<UL>";
while($cliente=ibase_fetch_row($cli)) {
print "<LI>".$cliente->fecha." " .$cliente->venta."
".$cliente->nombre."\n";
}
print "</UL>";
ibase_close($link);
?>
----
the script connects to the database, generates the query and...
the ibase_fetch_row() dies at operating system level. every iteration
returns a blank line (no data) without any other indication of error.
Client applications connect and retrieve data form the same database/table
without trouble.
Checking http error_log I found this:
"[Mon Oct 29 15:54:14 2001] [notice] child pid 21515 exit signal
Segmentation fault (11)" on every call to the .php script from my browser.
I tried uninstalling and recompiling/installing 3 times with the same
results...
No signs of error in PHP logs, system logs....
Any assistance will be appreciated.
thanks and best regards,
Manuel.Rodriguez
webmaster@gsar.com