How to change PHP version on web hosting


For scripts and CMS on hosting to function correctly, it is often necessary to update the PHP version to the latest one. This is also required for optimizing the site, speeding up page loading, and improving the overall site performance. Some older sites work quite well on older PHP versions, but if you aim to achieve optimization and speed up your site, you must update the PHP version to 7 or higher.

Changing the PHP version is done in the hosting control panel. You can access it using the details that were sent to you via email or through the billing system. All the steps described in this article can also be performed through the ISPmanager server control panel.

How to Change the PHP Version on Your Hosting

1. In the hosting control panel, you need to navigate to the PHP tab, which is located in the left menu:

PHP Tab in the Control Panel

Next, select the required version (in this case, 7.1.33) and enable PHP by clicking the Activate button.

2. After you have enabled PHP, go to the WWW-Domains tab:

WWW-Domains Tab in the Control Panel

In this tab, choose the site where you need to enable the latest version of PHP and press the Edit button:

WWW-Domains Tab, Changing the PHP Version on Hosting

3. In the WWW-domain settings, find the Additional Features section. In this section, change the PHP mode setting. You should set it to CGI:

"Additional Features" Section in the Control Panel

After completing the settings, do not forget to save them by clicking the "OK" button:

Saving Settings in the "Additional Features" Section

All done! You have just enabled PHP version 7.1.33 on your site.

Previous article How to disable enhanced security configuration in IE
Next article How to setup network in Debian OS

Ask a question

We are always ready to answer your questions at any time of day or night.
Please, check our Knowledge base, most likely the answer to your question is already there!
svg--close svg--yes
Your message has been sent
We will definitely consider your message as soon as possible