Date: Tue, 26 Sep 2000 18:08:03 +0200 From: Imdat Solak <iso@burdadigital.com> To: <freebsd-database@FreeBSD.ORG> Cc: <frank@cyberlab.de> Subject: Bug in PHP4 accessing Sybase with freetds Message-ID: <19340821093947.27766@mail.bd.intern> In-Reply-To: <20000803161257.26001@mail.bd.intern> References: <20000803161257.26001@mail.bd.intern>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
couple of people reported that there is a bug accessing Sybase by
using PHP4.0.1pl1 with freetds on FreeBSD 3.4 with Apache.
Namely, Apache crashes with a "Segmentation fault" when you do a
DELETE, INSERT or UPDATE in the Sybase DB.
The crash happens only after successfull DELETE, INSERT or UPDATE
statements, i.e. if there was a DB-error (cannot delete, insert
or update), then Apache doesn't crash.
I followed the bug and found first a workaround and second a solution,
which works on my site.
As not everybody is interested in this topic, I put the doc describing
the solution on my site:
http://www.imdat.de/php/sybase_php_freetds_bug.txt
I will send this to PHP.NET and to the freetds-guys, too, as the bug
is in both, freetds AND php4 (I also checked PHP4.0.2, it still has
the same bug).
Hope to have helped
best
imdat
--
Imdat Solak
Burda Digital GmbH * Arabellastr. 23 * 81925 Munich * Germany
iso@burdadigital.com * +49-89-9250-2714 * -2190 (fax)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19340821093947.27766>
