What version of PHP do you run and can I change to a different version?


We current have the following PHP versions on our shared and resold web servers:

PHP versions listed in red indicate that they are end of life (EOL). We strongly discourage the use of these EOL versions. If your website requires the use of a PHP version highlighted in red, it should be updated or replaced with a newer version.

Changing your PHP Version

eXtend Control Panel

You can change to a different version of PHP by clicking on the ‘Switch PHP Version’ under ‘Web Tools’ in your eXtend Control Panel.

To change your version:

  1. Click ‘Switch PHP Version’
  2. Select the version of PHP you want from the drop-down list
  3. Click ‘Update’
  4. Your site will now run that version.

Manually via a .htaccess file

You can switch to the latest version of PHP as your default version by adjusting your .htaccess file:

  1. Download or edit your .htaccess file (try to use the .htaccess file in your websites home directory)
  2. Add one of the following lines depending on the version of PHP you want to use:

AddHandler application/x-httpd-php84 .php
AddHandler application/x-httpd-php83 .php
AddHandler application/x-httpd-php82 .php
AddHandler application/x-httpd-php81 .php
AddHandler application/x-httpd-php80 .php
AddHandler application/x-httpd-php74 .php
AddHandler application/x-httpd-php73 .php
AddHandler application/x-httpd-php72 .php
AddHandler application/x-httpd-php71 .php
AddHandler application/x-httpd-php7 .php
AddHandler application/x-httpd-php56 .php

  1. Re-upload or save the .htaccess

You can specify PHP versions for specific subdirectories by editing your .htaccess file. If you wish to ensure that you consistently use the same PHP version, you should only update the .htaccess file in either your packages home directory (~), or the public_html directory.



Article ID: 416
Created On: Mon, Mar 16, 2015 at 3:26 PM
Last Updated On: Thu, Jun 25, 2026 at 3:06 PM

Online URL: https://www.heartinternet.uk/support/article/what-version-of-php-do-you-run-and-can-i-change-to-a-different-version.html