How do i change my default php version to plesk?

Overview

At this time, the Grid offers multiple versions of PHP, in the form of PHP-Stable, PHP-Latest, and FastCGI). PHP 5.6 and PHP 7 are available on all Media Temple Grid accounts. For more information about PHP 7, navigate here.

You may change or see your PHP version for each domain in the AccountCenter at any time.

  1. Log into your AccountCenter.
  2. From the Overview page or Domains tab, select your primary domain.
  3. This opens your Grid Control Panel. Click on PHP Settings.

    How do i change my default php version to plesk?

  4. On the next screen, you will see the versions of PHP that are currently available. Here you will make your selection(s). You may do so on a per-domain basis or for all of your domains at once.
    How do i change my default php version to plesk?
  5. Select the desired PHP version for each domain; you can choose between PHP-Stable (5.3.23) and PHP-Latest (7.0).
  6. You may also click on the PHP version (for example, the "PHP Stable (5.3.23)" link) to bring up a "phpinfo.php" page. This page contains more details on how PHP has been set up on this platform.
    How do i change my default php version to plesk?

Resources

  • How do I enable FastCGI?
  • The authoritative source for PHP information is at http://www.php.net

Overview

This article shows you how to update PHP to a different version. The latest version is PHP 7, which includes many upgrades to speed and stability. For more information about PHP 7, navigate here.

Before Proceeding! Make sure that you have a recent backup of all data on the server that you will be making changes to.

Plesk

These instructions will show you how to use the Plesk admin panel to change PHP versions. Start by logging into Plesk.

1. Log into the Plesk admin panel and select Tools & Settings from the options on the left.

How do i change my default php version to plesk?

2. Select Updates and Upgrades from the Plesk column.

How do i change my default php version to plesk?

3. Select Add/Remove Components

How do i change my default php version to plesk?

4. Use the + next to Web hosting to expand the column, then do the same for PHP interpreter versions. Change your desired version to install and click continue.

How do i change my default php version to plesk?

The Plesk installer will run. Once complete, you will be able to use your chosen PHP version.

Note: You do not necessarily need to remove previous versions of PHP. Doing so may cause conflict with various native Plesk applications such as Horde.

5. After installing your desired PHP version, you will need to update the PHP Settings of your domain. Click on Domains (note: for some Plesk versions this may be called Websites & Domains).

How do i change my default php version to plesk?

6. A list of domains will appear. Select your desired domain.

How do i change my default php version to plesk?

7. Once at your domain's control panel, click on PHP Settings.

How do i change my default php version to plesk?

8. In your PHP Settings, click on the current PHP version. A list of available PHP versions will appear. Select your desired version, then scroll to the bottom of the page to select Apply.

How do i change my default php version to plesk?

How do i change my default php version to plesk?

cPanel

These instructions will show you how to use the cPanel WHM utility to change PHP versions.

You may need to install your desired version of PHP before you may use it. PHP version installation is handled through the EasyApache template configuration tool. If you know that you already have the version of PHP that you require, skip the EasyApache PHP installation instructions.

Note: Only one version of EasyApache may be active at a time. cPanel supports PHP 7 via EasyApache 4 only. You must use EasyApache 4 if you plan to use PHP 7 with your cPanel install.

Instructions for EasyApache 3

1. Log into WHM and select the Software panel. 

How do i change my default php version to plesk?

2. Select EasyApache 3. If EasyApache 4 is active, you'll receive an error letting you know that another version is currently active and you will need to either revert back to EasyApache 3 or select EasyApache 4. Only servers that were originally provisioned with EasyApache 3 may revert back to it.

How do i change my default php version to plesk?

3. You should now see a list of available Apache profiles. From here it is easy to manage various aspects of your Apache build. To change your PHP version, select the edit tool to the right of your default profile.

How do i change my default php version to plesk?

4. Select Next Step to move to the PHP version menu. Select the version that you'd like to install and proceed through the remaining menus.

How do i change my default php version to plesk?

Important: It is very important to allow the EasyApache build process to complete. A premature termination will very likely result in a total failure of cPanel, and you will have to restore from a backup.

Instructions for EasyApache 4 

1. If you haven't installed EasyApache 4, connect to your server via SSH and execute the following:

/scripts/migrate_ea3_to_ea4 --run
  • Confirm the installation using 'y'. This process make take several minutes to complete.

2 . Once EasyApache 4 installation is complete, log into WHM and select the Software panel.

How do i change my default php version to plesk?

3.  Select EasyApache 4 from the software list. 

How do i change my default php version to plesk?

4.  Click the Customize button to the right of Currently Installed Packages. If you would also like to change your package, select one from the list and use the Customize option. Please be aware that changing these settings may impact the performance of your cPanel installation.

How do i change my default php version to plesk?

5. From the menu on the left, click on PHP Versions. Select the version(s) of PHP that you'd like to install and click Next.

How do i change my default php version to plesk?

6. You'll now be asked to select PHP extension packages. If you are unsure of which ones you need, use the default selected packages for your PHP version. Click Next.

7. The review section will now give you an overview of everything that you've changed before provisioning. If you're ok with the changes to your system, click Provision. Depending on the changes you made, this process may take a few minutes to complete. Once you've received a confirmation that the configuration has been successfully provisioned, click Done.

Important: It is very important to allow the EasyApache build process to complete. A premature termination will very likely result in a total failure of cPanel, and you will have to restore from a backup.

Use the cPanel MultiPHP Manager to change PHP versions (EasyApache 4)

cPanel allows for PHP versions to be changed within both WHM and individual cPanel user accounts. This feature is only available when using EasyApache 4.

For all cPanel user accounts

1. To change the PHP version for cPanel accounts, log into WHM and click on the Software panel. You may also use these instructions from within individual cPanel accounts, but you will not be able to change the PHP version for domains that are not assigned to that account.

How do i change my default php version to plesk?

2.  Click on MultiPHP Manager. This will open a new menu which allows you to set both the system default PHP version, and control PHP versions on a per-domain basis.

  • WHM only: To change the default version of PHP that all cPanel servers are provisioned with, select a version under System PHP Version and click Apply.

How do i change my default php version to plesk?

  • WHM/cPanel: To change PHP versions on a per domain basis, select the domain you'd like to change and use the dropdown menu on the right to determine the PHP version, then click Apply.

How do i change my default php version to plesk?

3. You should now be using your assigned version of PHP. Verify that your version is correct and working properly by creating a PHP info page. If you need help, instructions can be found in this article.

Resources

Connect via SSH
Install EasyApache 4

How do I change PHP version on Plesk?

Configure the PHP Version:.
Click and select the hosting service you want to configure the PHP version for..
Click 'Login to Plesk Control Panel'..
Click and expand the 'Show More' options then click 'PHP Settings'..
Click and select the desired PHP version from the dropdown options on PHP support..

How install PHP 7.4 to Plesk?

Answer.
Log in to Plesk..
In Plesk, go to Tools & Settings and click Updates (Updates and Upgrades)..
On the Updates and Upgrades page, click Add/Remove Components..
On the Add/Remove Components page, expand: ... .
Select required PHP versions for installation/uninstallation and click Continue..

What is my PHP version Plesk?

You can check your PHP version directly through the Plesk panel..
Go to your GoDaddy product page..
Select Web Hosting, and next to the Windows Hosting account you want to use select Manage..
In the account Dashboard, select Plesk Admin..
Under PHP Settings, you will see your current PHP version number..

How do I change my PHP version?

Changing the PHP version.
Navigate to the Manage Websites page..
Click the Manage button to the right of your domain..
Under the PHP section, click the Modify icon..
Choose a version of PHP from the dropdown menu..
Scroll down and click the Change PHP Version button to save your changes..