A Note on PHP 7: PHP 7 is a big leap from the 5 series and provides up to a 50% speed boost and 50% reduced memory usage. It is also more secure than PHP 5. Further to this, it is actively being worked on meaning it will continue to receive speed and security updates. Some older sites may have compatibility problems with PHP 7, while 5.6 is far more compatible. We do recommend moving to 7 and if you have any incompatible themes/plugins you may want to look for alternates as PHP5 is due to stop receiving security updates within a few months and PHP7 will make sure your website is faster, safer and more future proof.
If you have recently had your hosting migrated or restored and are now seeing PHP errors one of the quickest steps of troubleshooting this is by changing the PHP version or adjusting PHP modules.
To do this complete the following steps.
- Access cPanel by browsing to http://your-domain-name/cpanel, ensuring to replace 'your-domain-name' with your actual domain
- Login using the details provided in the welcome email
- Under 'Software/Services' click on 'Select PHP Version'
- Choose a PHP version from the drop down menu and click 'Set as Current'
- Select any additional PHP modules as needed
- Click on 'Save' then click 'Set as current'
You will now be using a different version of PHP, you can verify this by using the phpinfo function in a PHP page on the website.