How to change the PHP version of my account?

In this article, we are going to learn how to change the PHP settings and versions on managed hosting accounts with ScalaHosting. The process is very easy, regardless if you are using SPanel or cPanel as a control panel.

To change the PHP version for your web hosting account on servers running EasyApache 3, follow the steps below:

1. Log into your cPanel account.
2. Scroll down and find Software/Services and the PHP Version menu below.

Software/Services section and PHP Version position in cPanel

3. You can change the PHP settings for the entire public_html or for any other directory in public_html.

Select the preferred directory

4. You can choose between PHP 5.3, 5.4, 5.5, 5.6, and 7.

Choose between PHP versions

If you are on a server using EasyApache4, you would need to edit your PHP version following the instructions below.

Under the Software section, look for the icon MultiPHP Manager.

php version manage

Once you click on it, a new page will load, which will allow you to change the PHP version for your entire account. That will be the default PHP configuration used by all your domain names and subdomains, except you didn’t choose a separate PHP version to be used for the specific website.

Check out the screenshot below:

select php version

The System PHP Version is the default version for your web hosting account. You can change that by choosing one of the available PHP versions and clicking on the Apply button.

Alternatively, you can have a different PHP version for each of your websites. To do that, you need to select the chosen site from the list and choose a PHP version for it from the drop-down menu.

Click on the Apply button afterward.

You can also control the settings of each PHP version. That is done by creating a custom php.ini file.

You can create a global php.ini file or separate custom php.ini files for each of your websites. That allows you to configure PHP per website to fit your software requirements.

The procedure works the same for shared hosting, VPS, or Dedicated Server solutions.

To learn more about creating and managing your custom php.ini files, please read this helpful article.

Feel free to contact our support team if you have additional questions.

Rado

Author

Working in the web hosting industry for over 13 years, Rado has inevitably got some insight into the industry. A digital marketer by education, Rado is always putting himself in the client's shoes, trying to see what's best for THEM first. A man of the fine detail, you can often find him spending 10+ minutes wondering over a missing comma or slightly skewed design.

Write a Comment

Required*