ID: 3992
Comment by: shayb52 at bezeqint dot net
Reported By: lumena at happytown dot ru
Status: Closed
Bug Type: Other
Operating System: Linux Red Hat 6.1
PHP Version: 4.0 Release Candidate 1
New Comment:
hello,
i am sorry but this problem occurred again with apach 2.040 and php
4.3.1 with interbase, any script will work fine until i try fetch
compile parameters:
php --with-interbase=shared (interbase 7.0) and load it to working php
as extension, also the compiled version works fine with interbase
extension 6.0.
Previous Comments:
------------------------------------------------------------------------
[2000-05-22 06:10:53] jah at cvs dot php dot net
InterBase module was not even expected to be working at the time this
bug
was reported. Please upgrade.
------------------------------------------------------------------------
[2000-03-30 22:58:47] lumena at happytown dot ru
Script:
$DBID=ibase_connect("localsrv:/base/eolis.gdb", "sysdba", "masterkey",
"win1251");
echo $DBID;
$TRANSID=ibase_trans(PHP_IBASE_COMMITED, $DBID);
$QRYID=ibase_query("select o.objname, o.id, o.price from objects
o, objcat c where c.id=o.catid");
while ( $row=ibase_fetch_object($QRYID) )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SEGMENTATION FAIL
{
$st1=$row[1];
if ( $str!=$st1[0] )
{
$str=$st1[0];
echo " <big><big>$s[0]</big></big><br>" . $body;
};
echo $row[1];
};
ibase_free_result($QRYID);
ibase_commit($TRANSID);
ibase_close($DBID);
END OF SCRIPT FRAGMENT
PHP Configuration:
./configure \
--with-apache=../apache \
--with-track-vars \
--with-interbase=/usr/interbase \
--with-trans-id \
--with-config-file-path=/etc
Russian Apache 1.3.9 PL29 or Apache 1.3.12 Configuration:
./configure --enable-module=most \
--enable-shared=max \
--activate-module=src/modules/php4/libphp4.a
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=3992&edit=1