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.
Log in to your 123 Reg control panel.
Scroll down to the Web Hosting section.
Select the relevant domain name from the drop-down box and click on the Manage button.
Click on the Switch PHP Version option in the Web Tools section.
From here you can choose versions starting from PHP 5.6 up to PHP 7.2.
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