Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Plesk FAQ  >  How To Change The PHP Version On A Plesk Server?
Top Scroll

How To Change The PHP Version On A Plesk Server?

 2 min

This tutorial provides instructions about finding the right PHP version that the Plesk server is using and the information for changing to a different PHP version.

For a server like Plesk, applications like PHP must be managed through the Plesk interface. Use the instructions given in this tutorial to update PHP and to switch to a different version of PHP.

Requirements

  • A Plesk server and PHP installed.
  • PHP is installed and it is running on a Standard Linux installation by default. If your server was set up with minimum installation, you will have to install and configure PHP before you move ahead.

Checking The Current PHP Version

  • Login to Plesk.

login to plesk

  • In order to view the current version of PHP that is used on the domain, click on the ‘Websites and Domains’ option and look for the domain that you want to check.

website and domains

  • When you click on ‘Website and Domains’, you will see that the PHP version is displayed in the domain’s information.

php settings

Change The PHP Version

  • Click on ‘PHP Settings’ for the domain that you want to change.

php settings 1

  • You will be directed to the ‘PHP Settings’ page for that domain. Click on the drop-down menu to view the PHP versions available.

PHP versions

  • In this case, the available versions on the server are: 7.3.27 and 7.4.16
  • When you select the PHP version you want through the drop-down list, scroll down to the bottom of the page and click on ‘Apply’ for saving the change.

apply

In case the PHP version you want is not listed in the drop-down menu, you can install it by having root access to the Plesk panel.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.