The display error statement is not what you actually want. You should change also the error_reporting value if you don't want to have the messages informing you about the error.
You should try this for all errors
error_reporting = off
or
error_reporting = E_ALL & ~E_DEPRECATED
this will keep letting you know about the errors but they will be invisible to other users..