PHP Error Page

This link may be helpful:

http://php.net/manual/en/book.errorfunc.php

My approach to handling errors

  1. Set error_log( ‘My-Project-Path’ );
  2. Set error_reporting(-1); // maximum
  3. Set ini_set(‘display_errors’, 0); // do not show on screen
  4. Monitor error log file and modify script to prevent further errors.