From owner-freebsd-questions@FreeBSD.ORG Wed Feb 14 12:39:33 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 66A0C16A473 for ; Wed, 14 Feb 2007 12:39:33 +0000 (UTC) (envelope-from wolf@k18.ch) Received: from mail.k18.ch (mail.k18.ch [62.2.105.52]) by mx1.freebsd.org (Postfix) with ESMTP id 8B02F13C471 for ; Wed, 14 Feb 2007 12:39:32 +0000 (UTC) (envelope-from wolf@k18.ch) Received: (qmail 31166 invoked from network); 14 Feb 2007 12:39:53 -0000 Received: by simscan 1.2.0 ppid: 31160, pid: 31163, t: 0.0539s scanners: attach: 1.2.0 clamav: 0.88.7/m:42/d:2566 Received: from efw.atel.k18.ch (HELO [192.168.10.51]) (Authenticated:wolf@[192.168.10.1]) (envelope-sender ) by mail.k18.ch (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Feb 2007 12:39:53 -0000 Message-ID: <45D30300.3000306@k18.ch> Date: Wed, 14 Feb 2007 13:39:28 +0100 From: Alain Wolf User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.questions To: peter@placidpublishing.net References: <45D2F4D1.50503@placidpublishing.net> 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:33 -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.