This tutorial will walk you through the process of determining which PHP version your Plesk server is running and how to switch to a different PHP version.
Applications such as PHP must be managed through the Plesk interface on a server such as Plesk. Follow the steps in this tutorial to update PHP and switch to a different version of PHP.
A Plesk server and PHP have been installed.
PHP is installed and, by default, running on a Standard Linux installation. If your server was configured with minimal installation, you will need to install and configure PHP before proceeding.
Check the Current PHP Version:
1. Log into “Plesk”
2. To see what version of PHP is currently being used on a domain, go to the “Websites and Domains” tab and search for the website you want to examine.
3. When you select “Website and Domains,” the PHP version will be listed in the domain information.
Modify Your PHP Version
1. For the domain, you want to alter, go to “PHP Settings”
2. You will be taken to that domain’s “PHP Settings” page. To see the available PHP versions, use the drop-down menu.
Note- Versions 7.3.27 and 7.4.16 are available on the server in this case.
3. After you’ve chosen your PHP version from the drop-down menu, scroll down to the bottom of the page and click on “Apply” to save your changes.
If the PHP version you want isn’t available in the drop-down option then you can install it manually if you have root access to your Plesk panel. However, if you are still facing any difficulty in the procedure mentioned above, feel free to reach out to the eukhost team for proactive support 24×7.