Turn on Error Reporting

It’s PHP 101, yet so many developers fail to remember it.

display_errors = On
error_reporting = E_ALL | E_STRICT

Always enable the display of errors on your development server, disable them on the live server. Showing all errors will help you find those stubborn programming mistakes quickly. Set these options in your php.ini file.

  • 21 Nov 2010

Got something to say? Got a question to ask? Just want to connect with me? Send me an email!