{"id":1145,"date":"2020-12-14T05:57:08","date_gmt":"2020-12-14T05:57:08","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/12\/14\/4718910-how-to-turn-on-php-error-messages-on-cpanel-at-hostinger\/"},"modified":"2026-10-29T14:56:11","modified_gmt":"2026-10-29T14:56:11","slug":"4718910-how-to-turn-on-php-error-messages-on-cpanel-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4718910-how-to-turn-on-php-error-messages-on-cpanel-at-hostinger\/","title":{"rendered":"How to turn on PHP error messages on cPanel at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">When you see errors like 500 it\u2019s a good idea to enable PHP error messages to see the true error.<\/p>\n<h2 id=\"h-enable-php-error-display\">Enable PHP error display<\/h2>\n<p class=\"no-margin\">In order to turn on PHP error reporting, open your <b>cPanel<\/b> and choose <b>Select PHP Version<\/b>:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2020\/12\/fe01a00e-9221-4b61-8f60-f889f4f2ad0a.jpg\/public\" alt=\"cPanel software menu with Select PHP Version option highlighted\" data-media-id=\"4531\" \/><\/div>\n<p class=\"no-margin\">On the newly opened page, select <b>Options<\/b> tab, scroll down a bit and select the <b>display_errors<\/b> checkmark:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2020\/12\/1e31b1ff-60ee-4630-9011-cda81fbe29de.jpg\/public\" alt=\"PHP Selector Options tab with display_errors setting checked\" data-media-id=\"4533\" \/><\/div>\n<p class=\"no-margin\">That\u2019s it! Now you know how to enable error display on your website \ud83d\ude0a<\/p>\n<p class=\"no-margin\">In case you wish to disable the errors, simply uncheck the selection.<\/p>\n<p class=\"no-margin\"><b>Additional resources<\/b>:<\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-how-to-change-the-php-version-on-cpanel\" class=\"intercom-content-link\" href=\"\/support\/4667467-how-to-change-the-php-version-on-cpanel-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">How to change the PHP version on cPanel<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-how-to-manage-php-extensions-on-cpanel\" class=\"intercom-content-link\" href=\"\/support\/4667580-how-to-manage-php-extensions-on-cpanel-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">How to manage PHP extensions on cPanel<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Enabling error display on cPanel<\/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":[194],"tags":[],"class_list":["post-1145","post","type-post","status-publish","format-standard","hentry","category-php-cpanel"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4718910-how-to-turn-on-php-error-messages-on-cpanel-at-hostinger","default":1},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4718910-bagaimana-cara-mengaktifkan-notifikasi-php-error-di-cpanel-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/4718910-como-ativar-as-mensagens-de-erro-php-no-cpanel-na-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1145","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=1145"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1145\/revisions"}],"predecessor-version":[{"id":23098,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1145\/revisions\/23098"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}