{"id":1606,"date":"2019-02-08T10:35:53","date_gmt":"2019-02-08T10:35:53","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1575755-how-to-change-the-php-version-of-your-hostinger-hosting-plan\/"},"modified":"2026-10-29T15:09:21","modified_gmt":"2026-10-29T15:09:21","slug":"1575755-how-to-change-the-php-version-of-your-hostinger-hosting-plan","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1575755-how-to-change-the-php-version-of-your-hostinger-hosting-plan\/","title":{"rendered":"How to change the PHP version of your Hostinger hosting plan"},"content":{"rendered":"<p>Change the PHP version of your Hostinger hosting plan on the PHP Configuration page of your website&rsquo;s dashboard. The selected version applies to all websites on the hosting plan, except websites created with Hostinger AI Builder, and updates within a couple of minutes. Hostinger applies PHP patch releases automatically, so you only choose the PHP version, not a specific patch.<\/p><h2 id=\"h-change-the-php-version-in-php-configuration\">Change the PHP version in PHP Configuration<\/h2><p>To change the PHP version of your hosting plan, go to the <a data-click-id=\"hgr-post-content-link-websites\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\"><strong>Websites<\/strong> <\/a>section, hover over the website in question, and click <strong>Manage site.<\/strong><\/p><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\/966a6514-b6aa-4337-a56a-3cdc45188620.jpg\/public\" alt=\"Hostinger dashboard sidebar with PHP Configuration menu option highlighted\" width=\"250\" height=\"333\" data-media-id=\"5486\"><\/div><p class=\"no-margin\">On the <b>PHP Configuration <\/b>page, select the PHP version you wish to use and click on <b>Update<\/b>:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20728\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-43.png\/public\" alt=\"\" width=\"1166\" height=\"379\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-43.png\/w=1166,fit=scale-down 1166w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-43.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-43.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-43.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1166px) 100vw, 1166px\" \/><\/div><p class=\"no-margin\">The PHP version will be updated within a couple of minutes. To confirm the change, <a data-click-id=\"hgr-post-content-link-check-the-php-version\" href=\"\/support\/5920192-how-to-check-the-php-version-in-hostinger\/\">check the PHP version<\/a> of your website.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">PHP versions below 8.2 are deprecated and are no longer available for selection. The only way to temporarily bypass this limitation is by <a data-click-id=\"hgr-post-content-link-editing-the-websites-htaccess-file\" href=\"\/support\/4047803-how-to-change-the-php-version-for-subfolders-or-subdomains-in-hostinger\/\">editing the website&rsquo;s .htaccess file<\/a>. Make sure to revert it back to a supported version as soon as you&rsquo;re ready.<\/div><p class=\"no-margin\">The selected version will apply to <b>all the websites<\/b> added to your hosting plan (except for websites created using Hostinger AI Builder).<\/p><div class=\"intercom-h2b-video\">\n<p><iframe title=\"How to check and update your PHP version on Hostinger (2026)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/YJZO4DJu5jM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<\/div><h2 id=\"h-php-patch-releases-on-hostinger-hosting-plans\">PHP patch releases on Hostinger hosting plans<\/h2><p>Hostinger applies PHP patch releases to your hosting plan automatically. A patch release is a security or bug-fix update within the same PHP version, for example from PHP 8.4.26 to PHP 8.4.27.<\/p><p>The PHP Configuration page lets you select only the PHP version, such as PHP 8.4 or PHP 8.5, not a specific patch release. You don&rsquo;t need to do anything to receive a patch, because Hostinger installs the latest patch for your selected version when it&rsquo;s rolled out. To see which patch release your website uses, <a data-click-id=\"hgr-post-content-link-check-the-php-version-of-your-website\" href=\"\/support\/5920192-how-to-check-the-php-version-in-hostinger\/\">check the PHP version of your website.<\/a><\/p><h2 id=\"h_a8395f26bc\">Unsupported PHP versions<\/h2><p class=\"no-margin\">It&rsquo;s recommended to make sure that your website code is compatible with the latest PHP version. For <b>security<\/b> <b>reasons<\/b>, deprecated versions (8.1 and lower) are unavailable on Hostinger dashboard. In addition, using an unsupported version may cause stability and performance issues on your website.<\/p><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">To ensure optimal security and performance, Hostinger has deprecated PHP versions that no longer receive official security updates and patches. Here&rsquo;s what this means for your websites:<\/p><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\"><strong>For new websites:<\/strong><\/p><ul class=\"[li_&amp;]:mb-0 [li_&amp;]:mt-1.5 [li_&amp;]:gap-1.5 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc flex flex-col gap-2 pl-8 mb-3\">\n<li class=\"whitespace-normal break-words pl-2\">PHP 8.3 is selected by default<\/li>\n<li class=\"whitespace-normal break-words pl-2\">You can only select PHP versions 8.2 and higher up to PHP 8.5<\/li>\n<li class=\"whitespace-normal break-words pl-2\">Older PHP versions (8.1 and below) are no longer available as options<\/li>\n<\/ul><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\"><strong>For existing websites with older PHP versions:<\/strong><\/p><ul class=\"[li_&amp;]:mb-0 [li_&amp;]:mt-1.5 [li_&amp;]:gap-1.5 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc flex flex-col gap-2 pl-8 mb-3\">\n<li class=\"whitespace-normal break-words pl-2\">Your current PHP version remains active<\/li>\n<li class=\"whitespace-normal break-words pl-2\">You can upgrade to any higher PHP version<\/li>\n<li class=\"whitespace-normal break-words pl-2\">Downgrading to lower versions is not possible (except within the same login session if an issue occurs)<\/li>\n<\/ul><p class=\"no-margin\">However, sometimes, an older PHP version may be necessary, e.g., for testing and troubleshooting. In that case, you can temporarily change the PHP version on a specific website by <a data-click-id=\"hgr-post-content-link-editing-its-htaccess-file\" class=\"intercom-content-link\" href=\"\/support\/4047803-how-to-change-the-php-version-for-subfolders-or-subdomains-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">editing its .htaccess file<\/a>. Make sure to revert it back to a supported version as soon as you&rsquo;re ready.<\/p><p>Keeping your websites on a supported PHP version gives them the latest security updates and stable performance.<\/p><p class=\"no-margin\"><b>NOTES<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">To change the PHP version of a specific website, you can <a data-click-id=\"hgr-post-content-link-edit-the-htaccess-file\" class=\"intercom-content-link\" href=\"\/support\/4047803-how-to-change-the-php-version-for-subfolders-or-subdomains-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">edit the htaccess file<\/a>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">The PHP version cannot be changed if you only have websites created with Hostinger AI Builder.<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Change the PHP version of your Hostinger hosting plan in PHP Configuration, and learn which PHP versions are supported or deprecated.<\/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":[234],"tags":[],"class_list":["post-1606","post","type-post","status-publish","format-standard","hentry","category-php-versions"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1575755-how-to-change-the-php-version-of-your-hostinger-hosting-plan","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1575755-como-cambiar-la-version-de-php-en-tu-plan-de-hosting-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1575755-comment-changer-la-version-php-de-votre-hebergement-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1575755-cara-mengubah-versi-php-hostinger","default":0},{"locale":"lt-LT","link":"https:\/\/www.hostinger.com\/lt\/support\/1575755-kaip-pakeisti-php-versija-hostinger-platformoje","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1575755-como-alterar-a-versao-do-php-do-seu-plano-de-hospedagem-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1575755-\u044f\u043a-\u0437\u043c\u0456\u043d\u0438\u0442\u0438-php-\u0432\u0435\u0440\u0441\u0456\u044e-\u0441\u0430\u0439\u0442\u0443-\u043d\u0430-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1606","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=1606"}],"version-history":[{"count":18,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1606\/revisions"}],"predecessor-version":[{"id":23472,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1606\/revisions\/23472"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}