From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 08:49:30 2011 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 CF348106566B for ; Wed, 15 Jun 2011 08:49:30 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 944CC8FC08 for ; Wed, 15 Jun 2011 08:49:30 +0000 (UTC) Received: by gxk28 with SMTP id 28so139680gxk.13 for ; Wed, 15 Jun 2011 01:49:29 -0700 (PDT) Received: by 10.150.238.15 with SMTP id l15mr529480ybh.241.1308127769759; Wed, 15 Jun 2011 01:49:29 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id u64sm124378yhm.41.2011.06.15.01.49.27 (version=SSLv3 cipher=OTHER); Wed, 15 Jun 2011 01:49:28 -0700 (PDT) Message-ID: <4DF87216.5050908@my.gd> Date: Wed, 15 Jun 2011 10:49:26 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, kline@thought.org References: <20110611231109.GA10815@thought.org> <20110611233610.GA11510@thought.org> In-Reply-To: <20110611233610.GA11510@thought.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: some help still needed.... 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, 15 Jun 2011 08:49:30 -0000 On 6/12/11 1:36 AM, Gary Kline wrote: > On Sat, Jun 11, 2011 at 06:22:57PM -0500, Ryan Coleman wrote: >> Date: Sat, 11 Jun 2011 18:22:57 -0500 >> From: Ryan Coleman >> Subject: Re: some help still needed.... >> To: Gary Kline >> Cc: FreeBSD Mailing List >> X-Mailer: iPad Mail (8J3) >> >> >> Always on php the latest.. So php5. > > > And, what's the easiest way to determine why # php segvs? > Sorry for the late response Gary. First, I would ask myself: - does it crash in CLI ? - does it crash as an apache module ? - does it crash as a PHP FCGI process ? Second, I would ask myself: - does it crash when I call a specific php page ? - any page at all ? Third, I would rebuild php with debug: cd /usr/ports/lang/php5 && make config Tick DEBUG. Of course you'll also want to rebuild your php5-extensions just to be safe. When you next get a core dump, you should be able to load it in gdb and see what module caused it to crash.