News Feed
Sections




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

Rob Allen's Blog:
Zend Framework, IIS and 500 errors
March 04, 2010 @ 09:48:35

If you've been using the Zend Framework on a Windows platform (running IIS as the web server) and have been getting some 500 errors and have been left lacking the detail you need on the problem, you should read this new post from Rob Allen about an IIS setting that can help you out.

One of the dangers of frameworks in general is that you forget that they do lots of handy things for you. [...] The error handler in ZF will catch any exceptions and route them to the error action in the error controller. This then sets the correct HTTP response code, logs the error and optionally displays it if a config setting is set.

IIS shows you some default error pages when something goes wrong, but sometimes you might need a bit more information. Rob points you to the "Edit Error Pages Settings" panel in the IIS setup and which setting to change it to for development versus production environments.

0 comments voice your opinion now!
zendframework iis windows error debug


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: The "do X or die()" pattern must die

MaltBlue.com: Do We Use Magic Methods or Not?

Brian Swan's Blog: Running Multiple PHP Versions with IIS

Think Vitamin Blog: How to Debug in PHP

David Coallier's Blog: Zend_Db Without PDO part #3 (SVN Repository)?


Community Events





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


community testing unittest refactor podcast interview introduction code threedevsandamaybe opinion developer configure symfony2 language framework list series release install laravel

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