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 5

Login to your 123 Reg control panel.

 

Step 2 of 5

Scroll down to the Web Hosting section.

Step 3 of 5

Select the relevant domain name from the drop-down box and click on the Manage button.

Web_hosting_section.jpg

Step 4 of 5

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

Step 5 of 5

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