There are a few things to note when making PHP changes. If you're unfamiliar with this tool, check the notes at the bottom of this article.
This guide is for our Web Hosting and Reseller plans, as well as VPS and Dedicated Servers with CloudLinux. If you're on a WHM/cPanel VPS or Dedicated Server without CloudLinux, click here for a guide on changing PHP settings.
First thing to do is: log in to cPanel (click here for a guide) then click on Select PHP Version icon
To change the PHP version: (1) Select a version other than native then (2) click Set as current. You will need to do this before you change other PHP settings and modules.
To enable a PHP module: Tick the box for the module you want to enable and click Save
To change the PHP options such as max_input_time, post_max_size etc: First, click on the Switch to PHP Options link in the top right.
To edit a setting, (1) click on the value you want to edit and change it, (2) click Apply, (3) click Save down the bottom left of the screen
When you make some changes in this tool, there are a few important things to note:
Note 1: If you had a module or other setting enabled for a different PHP version, you will have to select the modules and enable them again as each version maintains its own list of active modules and other settings.
Note 2: Make sure to update PHP one version at a time. Newer PHP versions remove old functions which can break your site, so you will need to go back. Start by updating, for example, from 5.4 to 5.5. Go to your site, test all the pages, forms and functions to make sure everything works correctly. If it's fine, go to 5.6 and test the site again. You can always go back to an earlier version of PHP so there's no serious risk in switching versions.
Note 3: 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.
How do I change my PHP version - settings - modules?
To make it easier to get in touch with us, from the 24th of March 2016 all support tickets will need to be submitted from your Crucial Control Panel.