{"id":1595,"date":"2019-02-08T10:35:53","date_gmt":"2019-02-08T10:35:53","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583197-how-to-turn-off-php-error-messages-in-hostinger\/"},"modified":"2026-10-30T07:20:24","modified_gmt":"2026-10-30T07:20:24","slug":"1583197-how-to-turn-off-php-error-messages-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583197-how-to-turn-off-php-error-messages-in-hostinger\/","title":{"rendered":"How to turn off PHP error messages in Hostinger"},"content":{"rendered":"<p>Turn off PHP error messages in Hostinger if you don&#8217;t want errors displayed on your website.<\/p>\n<h2 id=\"h-disable-php-error-messages\">Disable PHP error messages<\/h2>\n<p class=\"no-margin\">If you do not want PHP errors to be displayed on your website, all you need to do is open <b><a data-click-id=\"hgr-post-content-link-hosting\" class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/hosting\/\" target=\"_blank\" rel=\"noopener\">Hosting<\/a><\/b> \u2192 <b>Manage site<\/b>, search for <b>PHP Configuration<\/b> on the sidebar and click on it:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2019\/02\/209aeea3-852d-4808-ab93-50730301bbb2.jpg\/public\" alt=\"Hostinger dashboard sidebar with PHP Configuration option highlighted under Advanced\" width=\"298\" height=\"333\" data-media-id=\"5502\" \/><\/div>\n<p class=\"no-margin\">Once there, open the <b>PHP options<\/b> page and remove a checkmark from <b>displayErrors <\/b>(display_errors) parameter. If you do not want errors to be logged as well, remove a checkmark from <b>logErrors <\/b>(log_errors) as well:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-15092\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-06_1.png\/public\" alt=\"\" width=\"1320\" height=\"537\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-06_1.png\/w=1320,fit=scale-down 1320w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-06_1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-06_1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-06_1.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1320px) 100vw, 1320px\" \/><\/div>\n<p class=\"no-margin\">Make sure to <b>save changes<\/b> before leaving the page.<\/p>\n<p><strong>NOTES<\/strong><\/p>\n<ul>\n<li class=\"no-margin\">If the mentioned parameters were not chosen or errors keep displaying even after disabling them, check <b><a data-click-id=\"hgr-post-content-link-additional-options-for-disabling-errors\" class=\"intercom-content-link\" href=\"\/support\/1583189-how-to-hide-errors-and-warnings-on-your-website-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">additional options for disabling errors<\/a><\/b>.<\/li>\n<li>If you&#8217;re looking to enable them instead for debugging, see <a data-click-id=\"hgr-post-content-link-how-to-display-php-error-messages-in-hostinger\" href=\"\/support\/4259219-how-to-display-php-error-messages-in-hostinger\/\">how to display PHP error messages in Hostinger.<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Disabling PHP error messages<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[231],"tags":[],"class_list":["post-1595","post","type-post","status-publish","format-standard","hentry","category-php-errors"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583197-how-to-turn-off-php-error-messages-in-hostinger","default":1},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583197-comment-desactiver-les-messages-d-erreur-php-sur-hpanel-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583197-bagaimana-cara-menonaktifkan-notifikasi-php-error-di-hpanel-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1583197-como-desativar-as-mensagens-de-erro-php-no-hpanel","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583197-\u044f\u043a-\u0432\u0438\u043c\u043a\u043d\u0443\u0442\u0438-\u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f-\u043f\u0440\u043e-\u043f\u043e\u043c\u0438\u043b\u043a","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1595"}],"version-history":[{"count":5,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1595\/revisions"}],"predecessor-version":[{"id":23982,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1595\/revisions\/23982"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}