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 have also try to install php with interbase 7 and got the same
results with the next configuration:

redhat 7.3 php 4.2.x apache 2.0.40
redhat 8.0 php 4.3.1 apache 2.0.40
redhat 9.0 php 4.3.2 apache 2.0.44

it is very starnge that no one has encountered this problem, doesnt any
one use interbase?
if any of you have idea i am willing to try.


Previous Comments:
------------------------------------------------------------------------

[2003-06-07 00:59:23] shayb52 at bezeqint dot net

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.

------------------------------------------------------------------------

[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

Reply via email to