Date: Mon, 1 Nov 2010 12:43:45 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: David Southwell <david@vizion2000.net> Cc: apache@freebsd.org Subject: Re: Tracing fatal error - how to Message-ID: <20101101194345.GA30738@icarus.home.lan> In-Reply-To: <201011011913.21785.david@vizion2000.net> References: <201011011913.21785.david@vizion2000.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > > <?PHP > 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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101101194345.GA30738>