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: PHP typehinting gotcha in exceptions/methods

Cal Evans' Blog: Book is Available, Support Site is Live

Rob Allen's Blog: The Redirector action helper

Elizabeth Smith's Blog: PECL on Windows - Yes I'm odd

Till's Blog: Avoiding common pitfalls with Zend_Test


Community Events

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


introduction application voicesoftheelephpant php7 community framework series symfony2 extension conference interview podcast example opinion release api performance laravel version library

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