{"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-04-08T02:52:46","modified_gmt":"2026-04-08T02:52:46","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 class=\"no-margin\">To change the PHP version of your hosting plan, go to the <b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a> <\/b>section and click on<b> Dashboard <\/b>next to the website in question. Then, search for <b>PHP Configuration<\/b> on the sidebar and click on the given result to access those settings:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/966a6514-b6aa-4337-a56a-3cdc45188620.jpg\" alt=\"The PHP Configuration menu item\" width=\"250\"><\/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 loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7041\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/2025-12-16_17-42.png\" alt=\"\" width=\"1343\" height=\"371\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/2025-12-16_17-42.png 1343w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/2025-12-16_17-42-300x83.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/2025-12-16_17-42-1024x283.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/2025-12-16_17-42-768x212.png 768w\" sizes=\"auto, (max-width: 1343px) 100vw, 1343px\" \/><\/div><p class=\"no-margin\">The PHP version will be updated within a couple of minutes.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\"><strong>NOTE<\/strong>: PHP versions below 8.2 are deprecated and no longer available for new selections<\/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 the Hostinger Website Builder).<\/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<b>.<\/b> For <b>security<\/b> <b>reasons<\/b>, deprecated versions (8.2 and lower) are unavailable on hPanel. 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 by <a class=\"intercom-content-link\" href=\"\/support\/4047803-how-to-change-the-php-version-for-subfolders-or-subdomains\" target=\"_blank\" rel=\"noopener\">editing its .htaccess file<\/a>.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Make sure to revert it back to a supported version as soon as you&rsquo;re ready.<\/p>\n<\/div><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 class=\"intercom-content-link\" href=\"\/support\/4047803-how-to-change-the-php-version-for-subfolders-or-subdomains\" 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 Website Builder.<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Changing the PHP version for each of your websites using hPanel at 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":[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-PT","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---php----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":5,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1606\/revisions"}],"predecessor-version":[{"id":9489,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1606\/revisions\/9489"}],"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}]}}