I am searching for a solution to hide or disable the showing of exceptions on a production server.
In my configuration I have set
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
but exceptions still appear.
Maybe it has something to do with the setting of set_exception_handler()
in my app. I use a custom exception handler but I'm not sure if overrides the effect of display_errors
and error_reporting
.
How can I disable the exceptions for my production server?