{"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":"2025-08-27T07:08:56","modified_gmt":"2025-08-27T07:08:56","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&rsquo;s a good idea to enable PHP error messages to see the true error. In order to turn on PHP error reporting, open your <b>cPanel<\/b> and choose <b>Select PHP Version<\/b>: <\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/fe01a00e-9221-4b61-8f60-f889f4f2ad0a.jpg\"><\/div><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><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/1e31b1ff-60ee-4630-9011-cda81fbe29de.jpg\"><\/div><p class=\"no-margin\">That&rsquo;s it! Now you know how to enable error display on your website &#128522; <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">In case you wish to disable the errors, simply uncheck the selection.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>Additional resources<\/b>:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b><a href=\"\/support\/4667467-how-can-i-change-my-php-version-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">How to change the PHP version on cPanel<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a href=\"\/support\/4667580-how-to-manage-php-extensions-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">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":{"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-PT","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":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1145\/revisions"}],"predecessor-version":[{"id":4535,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1145\/revisions\/4535"}],"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}]}}