From owner-freebsd-questions@FreeBSD.ORG Mon Mar 3 13:59:46 2008 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 5A9001065673 for ; Mon, 3 Mar 2008 13:59:46 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from smtp20.orange.fr (smtp20.orange.fr [80.12.242.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1378FC21 for ; Mon, 3 Mar 2008 13:59:46 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2004.orange.fr (SMTP Server) with ESMTP id 3F7361C00043 for ; Mon, 3 Mar 2008 14:59:45 +0100 (CET) Received: from [192.168.1.2] (ALyon-253-1-45-152.w83-205.abo.wanadoo.fr [83.205.172.152]) by mwinf2004.orange.fr (SMTP Server) with ESMTP id F1EBF1C00098; Mon, 3 Mar 2008 14:59:44 +0100 (CET) X-ME-UUID: 20080303135944991.F1EBF1C00098@mwinf2004.orange.fr Message-ID: <47CC044F.4080507@nicoelro.net> Date: Mon, 03 Mar 2008 14:59:43 +0100 From: Nicolas Letellier User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Drew Sanford References: <1928.63.65.46.186.1203460187.squirrel@webmail.pknet.net> <47BB64E1.3060405@wilderness.homeip.net> In-Reply-To: <47BB64E1.3060405@wilderness.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Peter , freebsd-questions@freebsd.org Subject: Re: PHP cli segfaults X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nicolas@nicoelro.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 13:59:46 -0000 Drew Sanford a écrit : > Peter wrote: >>> Drew Sanford wrote: >>> | Command line programs for php seem to segfault on a 7.0RC1 box >>> (yes, I >>> | know, I should update to RC2) - for example: >>> | >>> | root@colossus(~/bin)$ php -v >>> | PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 9 2008 >>> 13:03:20) >>> | Copyright (c) 1997-2007 The PHP Group >>> | Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies >>> | zsh: segmentation fault (core dumped) php -v >>> | >>> | Any pointers? Just update and see if that fixes it? Thanks in >>> advance. >>> | >>> | >>> | uname output: >>> | FreeBSD colossus.cotharyus.net 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Feb 9 >>> | 11:43:37 CST 2008 >>> >> >> Getting same thing, fresh install of 7.0 [cvsupped to rc2?], latest or >> not latest portsnap, I found it was the 'mhash.so' extension that was >> causing php to segfault - did portsnap update, and rebuilt all php >> stuff, still does same thing - have not tried it for last several weeks, >> so could be fixed by now...I did cvsup to latest sources... >> my emails were subjected "apache coredump with 'mhash' php extension >> enabled" - with mhash disabled, php works fine now. Will try and >> buildworld/reinstall php with the latest 7 sometime soon. >> >> ]Peter[ >> >> > Good find Peter, I've got exactly the same system config at this > point, and disabling mhash fixed it as well. Same problem with php5-mhash. I build it from the port, using FreeBSD7.0-RELEASE. I use PHP as apache module. Any ideas ? Thanks. -Nicolas