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:
- 8.4.21
- 8.3.9
- 8.2.21
- 8.1.29
- 8.0.30
- 7.4.33
- 7.3.33
- 7.2.34
- 7.1.33
- 7.0.33
- 5.6.40
Changing your PHP Version
Section titled “Changing your PHP Version”eXtend Control Panel
Section titled “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:
- Click ‘Switch PHP Version’
- Select the version of PHP you want from the drop-down list
- Click ‘Update’
- Your site will now run that version.
Manually via a .htaccess file
Section titled “Manually via a .htaccess file”You can switch to the latest version of PHP as your default version by adjusting your .htaccess file:
- Download or edit your .htaccess file (try to use the .htaccess file in your websites home directory)
- 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
- Re-upload or save the .htaccess