You can use PHP’s display_errors
setting to control this. If you are using WordPress or another CMS package, it will likely have its own configuration settings to control error reporting (e.g. here is WordPress’s documentation).
You can also see PHP’s logging in your “logs” directory – log in by FTP.
Posted in: Questions about PHP scripting