News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Conor Mac Aoidh's Blog:
OS X Audio Alerts for PHP Errors
June 23, 2010 @ 09:14:13

In a new post to his blog today Conor Mac Aoidh talks about a way he's developed to get audio alerts whenever PHP errors pop up in your scripts using the swatch tool.

Kae posted today about tackling this problem under Linux, but I've found that it's quite a different task under OS X.

It also uses some additional Perl modules (like Date::Calc and Date::Manip) to set up swatch. From there it's just a matter of adding a few lines to a configuration file to watch for the errors and sound the "bell". A few bash scripts will need to be added to correctly start the service too.

0 comments voice your opinion now!
audio alert error swatch perl bash tutorial


blog comments powered by Disqus

Similar Posts

O'Reilly: Code As Data: Reflection in PHP

DeveloperTutorials.com: PHP Debugging with Zend Studio

PHPFreaks.com: PHP Security

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 5

Till Klampaeckel's Blog: RFC: Mocking protected methods


Community Events





Don't see your event here?
Let us know!


community developer configure threedevsandamaybe release language list podcast code unittest application series library interview laravel api wordpress introduction bugfix install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework