Advanced PHP Error Handling via PHP
by Jeff Starr on Wednesday, January 30, 2008
In my previous articles on PHP error handling, I explain the process whereby PHP error handling may be achieved using htaccess. Handling (logging, reporting) PHP errors via htaccess requires the following:
- Access/editing privileges for htaccess files
- A server running PHP via Apache, not CGI (e.g., phpSuExec) 1
- Ability to edit/change permissions for files on your server
If you are having trouble handling PHP errors using htaccess, these three items are the first things to check. If it turns out that you are unable to use htaccess to work with PHP errors, don’t despair — this article explains how to achieve the same goals using local php.ini files. To implement this strategy, the following is required:
![Is it live or is it evil? [ Screenshot: Clip taken from Endgame ]](http://perishablepress.com/press/wp-content/images/2008/misc-chunks/endgame-video.jpg)
![[ Screenshot: Jeff Ngan's Equivocality ]](http://perishablepress.com/press/wp-content/images/2008/equivocality/screenshot.gif)
My current adventure into the fascinating realms of
If you are using Feedburner to deliver your feeds, chances are high that most — if not all — of your loyal readers have subscribed to the Feedburner-specific version of your feed’s URL. This is not a good idea for a couple of important reasons:
Recently, reader
Permalink URL canonicalization is automated via PHP in WordPress 2.3+, however, for those of us running sites on pre-2.3 versions or preferring to deal with rewrites directly via Apache, comprehensive WordPress URL canonicalization via
Every Wednesday, I take a little time to investigate my
Focused on clean code and quality content, Perishable Press is the online home of Jeff Starr, author, artist, designer, developer, and all-around swell guy.






Social Media
Some more than others, here are some of my favorites..