How to turn off PHP error messages in Hostinger

Disabling PHP error messages

Updated 4 weeks ago

Turn off PHP error messages in Hostinger if you don’t want errors displayed on your website.

Disable PHP error messages

If you do not want PHP errors to be displayed on your website, all you need to do is open HostingDashboard, search for PHP Configuration on the sidebar and click on it:

Hostinger hPanel sidebar with PHP Configuration option highlighted under Advanced

Once there, open the PHP options page and remove a checkmark from displayErrors (display_errors) parameter. If you do not want errors to be logged as well, remove a checkmark from logErrors (log_errors) as well:

Make sure to save changes before leaving the page.

NOTES