PHP Error reporting according to config