PHP Error reporting

Configurates error_reporting based on $display_errors configuration