Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 May 2005 14:44:30 +0300
From:      Uzi Klein <uzi@bmby.com>
To:        Oliver Schonrock <oliver.schonrock@realtsp.com>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: php5-mysqli-5.0.4_1
Message-ID:  <4274C11E.4020308@bmby.com>
In-Reply-To: <4274B75C.2010203@realtsp.com>
References:  <4274B75C.2010203@realtsp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Schonrock wrote:
...
> Hi
> 
> We run 4 FreeBSD servers now and have just built first FBSD server on 
> AMD64. Everything went quite smoothly using the amd64 version of freebsd.
> 
> until...
> 
> I tried to use the mysqli extension in php5.0.4 on apache 1.3.33 
> connecting to mysql-server-4.1.11 (all built from cvsup'd ports tree).
> 
> in php mysql_connect() works ok, but the mysql_fetch_array() segfaults.
> 
> this simple php script produces the error every time (via apache or with 
> command line binary):
> 
> <?php
> 
> $db = new mysqli('localhost', 'root', 'mysqlrootpw', 'mysql');
> 
> $result = $db->query('select * from user;');
> 
> while ($row = $result->fetch_array(MYSQLI_ASSOC))
> {
>   print_r($row);
> }
> 
> ?>
> 
> => Segmentation fault (core dumped)
> 

I have seen mysql 4.1x dies with queries that runs fine under 4.0x. 
Could it be that?
What application gives you the sig 11? is it apache or mysql?

Please attach relevant log files etc.



-- 
Uzi Klein
B.M.B.Y Software Systems LTD.
http://www.bmby.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4274C11E.4020308>