|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-01-20 06:43 UTC] abies@php.net
[2004-01-21 05:10 UTC] abies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 08:00:02 2025 UTC |
Description: ------------ My Firebird (SS) or Interbase server chrash very often when I test it with php. If work with Kylix cgi page I haven't sql server problems. When start php from console and run any php that connect to InterBase/Firebird the last row is "Segmentation fault" always. I've tested it with php 4.3.4, php 4.3.5 RC2, Firebird SS 1.03 and Interbase 7.1 as well. Php is ./configure --with-interbase=shared,/opt/interbase --with-apxs --enable-track-vars --enable-debug Reproduce code: --------------- <? $dbh = ibase_connect('localhost:/opt/interbase/examples/employee.gdb', 'SYSDBA', 'masterkey'); $stmt = 'SELECT * FROM COUNTRY'; $sth = ibase_query($dbh,$stmt);?> <html> <head> </head> <body> <table> <?php while ($row = ibase_fetch_object($sth)) { ?> <tr><td><? echo $row->COUNTRY;?></td></tr> <?} ibase_free_result($sth); ibase_close($dbh);?> </table></body></html>