{"id":1603,"date":"2019-02-08T10:35:53","date_gmt":"2019-02-08T10:35:53","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583187-how-to-fix-500-internal-server-error-at-hostinger\/"},"modified":"2026-04-15T04:31:47","modified_gmt":"2026-04-15T04:31:47","slug":"1583187-how-to-fix-500-internal-server-error-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583187-how-to-fix-500-internal-server-error-at-hostinger\/","title":{"rendered":"How to Fix 500 Internal Server Error at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">The <b>500 Internal Server Error<\/b> indicates that the server encountered an unexpected problem that prevented it from completing a request made by your web browser. This could be due to a variety of reasons, such as a problem with the website&rsquo;s code, a faulty plugin, or a technical issue with the server itself.<\/p><p class=\"no-margin\">To solve it properly, we suggest <b><a class=\"intercom-content-link\" href=\"\/support\/4259219-how-to-turn-on-php-error-messages-in-hpanel\" target=\"_blank\" rel=\"noopener\">enabling PHP error messages<\/a><\/b> first. This way, it will be easier to identify the particular issue.<\/p><p class=\"no-margin\">If nothing changes, and you still see the 500 error after enabling the PHP errors display, try<b> <a class=\"intercom-content-link\" href=\"\/support\/1575755-how-can-i-change-my-php-version\" target=\"_blank\" rel=\"noopener\">changing the website&rsquo;s PHP version<\/a> <\/b>and <b><a class=\"intercom-content-link\" href=\"\/support\/4259219-how-to-turn-on-php-error-messages-in-hpanel\" target=\"_blank\" rel=\"noopener\">enabling displayErrors<\/a><\/b> on different versions. Once that&rsquo;s done, you can proceed with the suggestions below &#128071;<\/p><h2 id=\"h_c0ce47eb7a\">WordPress-Based Websites<\/h2><p class=\"no-margin\">If your website is created with WordPress, refer to this comprehensive tutorial: <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-fix-500-internal-server-error-in-wordpress\" target=\"_blank\" rel=\"noopener\">How to Fix 500 Internal Server Error on WordPress<\/a><\/b><\/p><h2 id=\"h_cd36a26cda\">Other CMS<\/h2><p class=\"no-margin\">If your website is created using a CMS different from WordPress, perform the following action according to the specific error message:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Call to undefined function<\/b>: <b><a class=\"intercom-content-link\" href=\"\/support\/1575755-how-can-i-change-my-php-version\" target=\"_blank\" rel=\"noopener\">change your PHP version<\/a><\/b>. Try all available versions; if the issue persists across all, review the code in the file mentioned in the error<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Parse error (Syntax Error)<\/b>: check the file mentioned in the error message for any syntax errors and edit the syntax<\/p>\n<div class=\"intercom-container\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9664 size-full\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/2026-04-15_11-30-e1776227498966.png\" alt=\"\" width=\"924\" height=\"477\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/2026-04-15_11-30-e1776227498966.png 924w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/2026-04-15_11-30-e1776227498966-300x155.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/2026-04-15_11-30-e1776227498966-768x396.png 768w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/div>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Warning Access Denied<\/b>: double-check the database credentials to make sure they&rsquo;re correct in your website&rsquo;s <b><a class=\"intercom-content-link\" href=\"\/support\/3313359-where-to-find-configuration-file-of-my-website\" target=\"_blank\" rel=\"noopener\">configuration file<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Fatal error, Failed opening required<\/b>: it means that your site is calling for a file that does not exist or cannot be executed. Check if the file mentioned in the error message actually exists in the correct path<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Deprecated<\/b>: while lowering your <b><a class=\"intercom-content-link\" href=\"\/support\/1575755-how-can-i-change-my-php-version\" target=\"_blank\" rel=\"noopener\">PHP version<\/a> <\/b>may temporarily fix the issue, for security reasons, it is strongly recommended that you update your code to the latest PHP version<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">If the error persists after trying these options, you can <b><a class=\"intercom-content-link\" href=\"\/support\/4283700-how-to-restore-a-website-backup-at-hostinger\" target=\"_blank\" rel=\"noopener\">restore your website<\/a> <\/b>to a previously working state.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fixing 500 Internal Server Error on Hostinger<\/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":[180],"tags":[],"class_list":["post-1603","post","type-post","status-publish","format-standard","hentry","category-website-troubleshooting"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583187-how-to-fix-500-internal-server-error-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583187-como-reparar-el-error-interno-del-servidor-500-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583187-comment-corriger-l-erreur-500-interne-du-serveur-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583187-cara-mengatasi-internal-server-error-500-di-hostinger\/","default":0},{"locale":"lt-LT","link":"https:\/\/www.hostinger.com\/lt\/support\/1583187-kaip-istaisyti-500-internal-server-error-klaida-hostinger-platformoje\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583187-como-corrigir-o-erro-interno-do-servidor-500-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583187----500-internal-server-error-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1603","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=1603"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1603\/revisions"}],"predecessor-version":[{"id":9712,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1603\/revisions\/9712"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}