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.
Via the cPanel PHP Selector interface drop down menu you can see all the available PHP versions.
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.
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.
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.
Via the PHP settings section, you can modify variables such as the max_execution_time and the memory_limit for your PHP executions.
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!
© 2019 – 2021 GetHost. All Rights Reserved.