From owner-freebsd-apache@FreeBSD.ORG Mon Nov 1 19:57:10 2010 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057CD106566B for ; Mon, 1 Nov 2010 19:57:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id BA5E48FC1C for ; Mon, 1 Nov 2010 19:57:09 +0000 (UTC) Received: from omta18.westchester.pa.mail.comcast.net ([76.96.62.90]) by qmta07.westchester.pa.mail.comcast.net with comcast id RsWQ1f0061wpRvQ57vjobP; Mon, 01 Nov 2010 19:43:48 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta18.westchester.pa.mail.comcast.net with comcast id Rvjn1f0043LrwQ23evjnDY; Mon, 01 Nov 2010 19:43:48 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id F00AD9B422; Mon, 1 Nov 2010 12:43:45 -0700 (PDT) Date: Mon, 1 Nov 2010 12:43:45 -0700 From: Jeremy Chadwick To: David Southwell Message-ID: <20101101194345.GA30738@icarus.home.lan> References: <201011011913.21785.david@vizion2000.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201011011913.21785.david@vizion2000.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: apache@freebsd.org Subject: Re: Tracing fatal error - how to X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 19:57:10 -0000 On Mon, Nov 01, 2010 at 07:13:21PM +0000, David Southwell wrote: > I am getting a fatal error when trying to open a specific page. > > There are no errors in httpd-error.log or php_error.log. > > The server apache-2.2.17_1 is running. > > A php script calling check.php with the following lines: > > phpInfo(); > ?> > > runs fine and does not show any errors. > > How can one show what is causing fatal errors? > > Thanks in advance for help If there are no errors in httpd-error.log, your PHP debugging log shows no errors, and the check.php script in question isn't returning any errors, then what *is* returning errors? :-) PHP fatal errors are usually software exceptions within the PHP script itself, or possibly the PHP interpreter (missing extension/function, etc.). If PHP is built as an Apache module (and not as a CGI), then you should see these errors in your httpd-error.log unless you've adjusted certain things in php.ini. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |