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.

Posted in: