// this sets the configuration option for your environment ini_set('display_errors', '1'); //-1 will allow all errors to be reported error_reporting(-1);