From owner-freebsd-questions@FreeBSD.ORG Sat Sep 26 18:40:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21A511065670 for ; Sat, 26 Sep 2009 18:40:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id A37408FC08 for ; Sat, 26 Sep 2009 18:40:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MrcBf-00068z-81 for freebsd-questions@freebsd.org; Sat, 26 Sep 2009 20:40:03 +0200 Received: from pool-141-156-220-164.res.east.verizon.net ([141.156.220.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Sep 2009 20:40:03 +0200 Received: from nightrecon by pool-141-156-220-164.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Sep 2009 20:40:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 26 Sep 2009 14:40:32 -0400 Lines: 45 Message-ID: References: <20090926140646.12921239@scorpio.seibercom.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-141-156-220-164.res.east.verizon.net Sender: news Subject: Re: Warning: PHP Update from 5.2.10 to 5.2.11 and FastCGI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2009 18:40:06 -0000 Jerry wrote: > On Sat, 26 Sep 2009 13:34:25 -0400 > Michael Powell wrote: > [snip] >> If you are using FastCGI the workaround is to do make config in >> lang/php5 and deselect the Suhosin option. There is something very >> broken in the Suhosin patch as far as CLI and FastCGI is concerned. >> >> -Mike > > No problems on my machines. > > PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Sep 24 2009 19:08:59) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies > > Did you rebuild all of the ports that depend on PHP? I used portmanager > with the '-p' option to update all dependencies. > > portmanager -u -l -y -p > > That should get everything working.Update you ports system first > however. Ports was updated immediately prior to this. The only thing that depends on php5 is php5-extensions. I completely removed all PHP and rebuilt manually, same problem. Removed all and did again without using the Suhosin patch and now all is fine. Except for running without the hardening benefits of Suhosin. I run both lighttpd and Apache on this box with PHP as FastCGI and it took them both down. Will look into it a little more later. The error I got was periodically a PHP bug on and off for years. I think there is something wrong with the patch I got. I use cvsup11 because it closest to me (in the Verizon datacenter in Ashland, Va.) but I have had that server go stale before. Might try csupping ports again from something a little higher up in the hierarchy. -Mike