Gentoo Archives: gentoo-server

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-server@l.g.o
Subject: [gentoo-server] handling syntax/parse errors with PHP
Date: Tue, 27 Nov 2007 17:44:21
Message-Id: 474C584B.60205@gentoo.org
1 In my PHP-based websites for work, I have some error handling code that captures
2 any errors, displays a "friendly" error page, and then sends me an email with
3 all the details about the error.
4
5 However, this doesn't work for syntax/parse errors in pages, since the code is
6 not actually executed in this case. I can't seem to find anything online about
7 capturing these errors and notifying myself somehow.
8
9 Does anyone do something like this already?
10
11 --
12 Andrew Gaffney http://dev.gentoo.org/~agaffney/
13 Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
14 --
15 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] handling syntax/parse errors with PHP Jil Larner <jil@××××.eu>
Re: [gentoo-server] handling syntax/parse errors with PHP Peter Abrahamsen <rainhead@×××××.com>