How to Change your PHP version via cPanel

2 min read

GetHost supports multiple PHP versions on every shared hosting package. You can change your PHP version and enable or disable different PHP modules via the web-based interface in your cPanel. By the time of this tutorial, the default PHP version on our servers is PHP 5.6 but you can apply a different version for your account if your application or script requires it.

To change your PHP version, please log in to your cPanel and refer to the Software and Services section and click on the Select PHP Version icon.

How to Change your PHP version via cPanel 1

Via the cPanel PHP Selector interface drop down menu you can see all the available PHP versions.

change php version

To change the current version of your hosting account simply select the desired version and click on the Set as Current button. This will reload the page and gives you the option to enable or disable different PHP modules available for the desired PHP version.

How to Change your PHP version via cPanel 2

We have a default PHP modules configuration which you can load by using the Use Defaults button or you can select your custom configuration and click the Save button below the modules list.

select php modules

In addition to the module selector, you can edit your account php.ini file which allows you to apply custom PHP variables for your account. You can perform this via the Switch to PHP Settings button.

How to Change your PHP version via cPanel 3

Via the PHP settings section, you can modify variables such as the max_execution_time and the memory_limit for your PHP executions.

How to Change your PHP version via cPanel 4

Additionally, you can also easily enable the error_reporting and change upload_max_filesize.

We hope you find this article useful. Discover more about GetHost – the best Hosting Solutions for personal and small business websites!

24/7 Expert Hosting Support Our Customers Love

Any questions? Get in touch, Our friendly team of experts will be glad to assist.

Support