# Ensure websites run a supported PHP version

- Source: https://support.icompaas.com/support/solutions/articles/a_1796390902944467-ensure-websites-run-a-supported-php-version
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Hostinger](https://support.icompaas.com/support/solutions/c_1796390637084781) › [Hostinger Checks](https://support.icompaas.com/support/solutions/folders/f_1796390648370879)
- Last updated: 2026-12-04
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Description**

This check ensures that every website on a Hostinger hosting plan runs a PHP version that still receives security updates from the PHP project. By default, PHP 8.2 or newer passes. Each website is evaluated separately.

**Rationale**

PHP versions past end-of-life receive no security fixes, so known vulnerabilities in PHP itself remain exploitable. PHP 8.1 and older are already end-of-life, and PHP 8.2 reaches end-of-life on December 31, 2026. Running a supported version keeps the runtime patched.

**Impact**

-   On Hostinger hosting plans, the PHP version you select applies to every website on the plan (except sites built with Hostinger AI Builder)
    
-   Older themes, plugins or code may not work on a newer PHP version. Test compatibility first (for WordPress, use the PHP compatibility information in WordPress Overview) and take a backup
    
-   Because PHP 8.2 support ends on December 31, 2026, choose PHP 8.3 or newer now and raise the check's minimum version to 8.3 from January 1, 2027
    

**Default Value**

The PHP version is chosen when the plan or website is set up and does not change automatically to a newer major version.

**Pre-Requisites**

-   Access to hPanel for the account that owns the hosting plan
    
-   A backup of the website and a compatibility check of its code, theme and plugins
    

**Remediation**

**Test Plan**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Websites and click Dashboard next to the website.
    
3.  In the sidebar, select Advanced → PHP Configuration and note the current PHP version.
    
4.  If it is older than 8.2, the check fails for this website.
    
5.  Repeat for each website.
    

**Implementation Steps**

1.  Take a backup of the website and confirm the code, theme and plugins support the target PHP version.
    
2.  Log in to hPanel at https://hpanel.hostinger.com.
    
3.  Go to Websites and click Dashboard next to the website.
    
4.  In the sidebar, select Advanced → PHP Configuration.
    
5.  Select a supported PHP version (8.3 or newer is recommended) and click Update.
    
6.  Wait a few minutes, then open the website and check that pages and key features work.
    

**Backout Plan**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Websites and click Dashboard next to the website.
    
3.  In the sidebar, select Advanced → PHP Configuration.
    
4.  Select the previous PHP version and click Update.
    

**Note:** Going back to an unsupported PHP version leaves known vulnerabilities unpatched; use it only temporarily while fixing compatibility.

**Reference**

-   [https://www.hostinger.com/support/1575755-how-to-change-the-php-version-of-your-hostinger-hosting-plan/](https://www.hostinger.com/support/1575755-how-to-change-the-php-version-of-your-hostinger-hosting-plan/)
    
-   [https://www.php.net/supported-versions.php](https://www.php.net/supported-versions.php)
