Thursday 26 April 2012

Showing errors in php

I have been having students working through php development on the ubuntu install, one thing that really should have been setup at the start was error reporting

error_reporting = E_ALL & ~E_NOTICE


and display_errors = on
 
this now shows all error messages and where the students have errors in there code.
 

No comments: