From owner-freebsd-questions@FreeBSD.ORG Wed Feb 14 12:39:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DB6616A482 for ; Wed, 14 Feb 2007 12:39:48 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D52CC13C49D for ; Wed, 14 Feb 2007 12:39:47 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HHJQB-0000dK-15 for freebsd-questions@freebsd.org; Wed, 14 Feb 2007 13:39:39 +0100 Received: from 62-2-105-50.static.cablecom.ch ([62.2.105.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Feb 2007 13:39:39 +0100 Received: from wolf by 62-2-105-50.static.cablecom.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Feb 2007 13:39:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Alain Wolf Date: Wed, 14 Feb 2007 13:39:28 +0100 Lines: 51 Message-ID: <45D30300.3000306@k18.ch> References: <45D2F4D1.50503@placidpublishing.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org Cc: freebsd-questions@freebsd.org X-Gmane-NNTP-Posting-Host: 62-2-105-50.static.cablecom.ch User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <45D2F4D1.50503@placidpublishing.net> X-Enigmail-Version: 0.94.2.0 OpenPGP: id=6CB1BC68; url=http://restkultur.ch/personal/wolf/wolf@restkultur.ch.asc Sender: news Subject: Re: Very Annoying PHP Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 12:39:48 -0000 On 14.02.2007 12:38, * Peter Pluta wrote: > I recently upgraded to 5.2.1_1. After upgrading (or before not exactly > sure) I began getting errors ALERT - canary mismatch on efree() - heap > overflow detected in my Apache logs. Also, certain parts of one of my > database (mysql) driven sites stopped working. Certain pages just > stopped working, they return a blank white page. I'm absolutely stumped > on what it could be. I have tried recompiling php 4-5x with different > options and re-installing apache etc... Nothing is working. I looked for > php bug reports, and found this one http://bugs.php.net/bug.php?id=40119 > but it does not really pertain to me. Can anyone give some pointers or > tips on what to do? > > Right now I am thinking of just downgrading to PHP 5.2.0 because that's > what worked last. Is there an easy way to downgrade ports? > > Any feedback, tips, or help would be greatly appreciated. > > Thanks, > Peter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > My php installations have also several and repeating errors, but its difficult to analyze, because they keep changing. While updating ports using portmanager or portmaster sometimes installation of databases/php5-mysql or databases/php5-mysqli fails or sometimes both but also sometimes both install without errors. When errors occur, it has to do with missing mysql-client libraries, a mysql-client port-installation is attempted and fails because mysql-client is in fact already installed. By manually deinstalling and reinstalling mysql-client port just before the php-mysql port and php-mysqli port installation works, but maybe the next days already same errors occur. Sometimes all ports installe correctly but afterwards php fails to load an installed extension (error message refers to missing functions). This happened once with mysqli-extension, but not mysql and once with sqlite-extension. Some others too, but I don't recall which ones. Usually deinstalling and reinstalling the affected extension fixes it. But there again, I may get the difficulties mentioned above. So in summary, as a non programming observator, i think somehow libraries which where successfully installed get lost at some point on my systems.