Set display_errors = Off

Use a custom error handler

Log all error levels to different locations