How to switch the PHP version?

If you are running PHP scripts, you may wish to change the PHP version that your 123 Reg Hosting package is using. You can do this straight from your Hosting control panel.

Step 1 of 6

Start by logging in to your 123 Reg Control Panel.

 

Step 2 of 6

From there, select Web Hosting within the ‘Manage active products’ section and then select Manage opposite ‘Manage Web Hosting (bought before 07/07/20)’.

Manage Shared Web Hosting

 

Step 3 of 6

This will show you an overview of your current hosting packages. Click Manage for the account you wish to use.

Manage Legacy hosting

 

Step 4 of 6

On the next page, select Manage for the domain you wish to update.

Manage hosting domain

 

Step 5 of 6

Click on the Switch PHP Version option in the Web Tools section.

Step 6 of 6

From here you can choose versions starting from PHP 5.6 up to PHP 7.2.

Switch PHP version

Please note: The 123 Reg Hosting packages purchased after 30/03/2015 also support PHP 7.3 and the ones before, PHP 7.0, which may not be available yet to select from the Control Panel. In order to enable PHP 7.3 (or 7.0 on the older packages) simply add the following line to the .htaccess file in your public_html folder:

AddHandler application/x-httpd-phpXX .php

Replace XX with the version number you’d like to use.

So, for PHP 7.3, use:
AddHandler application/x-httpd-php73 .php

Or, for version 7.0, use:
AddHandler application/x-httpd-php70 .php