How do I change the PHP version on Plesk?

Procédure

What is PHP?

PHP is a Web programming language used to automate certain tasks. PHP communicates with a database to make web pages dynamic. This type of language is essential to the operation of many CMS such as Wordpress, Joomla and Prestashop.

Why change to another PHP version?

On your Plesk web hosting, you can change the PHP version you are going to use for your website. Some CMS such as Wordpress now use the latest PHP version. For example, it will be impossible to install the latest version of this CMS on an obsolete PHP version. We recommend using PHP version 7.0 or 7.1. These two versions are reputed to be faster and more reliable than the older ones.

Plesk currently has the following versions:

  • PHP 5.3 (obsolete)
  • PHP 5.4 (obsolete)
  • PHP 5.5 (obsolete)
  • PHP 5.6
  • PHP 7.0
  • PHP 7.1
  • PHP 7.2
  • PHP 7.3 (recommended)
  • PHP 7.4
  • PHP 8.0 (NEW)

How do I change the PHP version on Plesk?

1. Log in to your Plesk interface

2. Click on the"PHP Settings" tab

How do I change the PHP version on Plesk?

3. Choose the PHP version in the drop-down window then click on the"Apply" button to save your choice. The PHP version changes instantly.

How do I change the PHP version on Plesk?

Conclusion

You are now able to change the PHP version of your Plesk hosting with LWS. The default PHP version is 5.3. If you want to install Wordpress automatically, you need to change the PHP version to at least version 7.0 beforehand.

Don't hesitate to share your comments and questions!

help.lws.net/a/1073
Was this article helpful?

Yes

No

Read 17 209 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

A question about this article?

Ask the LWS team and the community. Answers are published after moderation.

Ask the LWS team and its community a question

GDPR: Controller: LWS-Ligne Web Services. Purpose: moderation and public publication of your question, possible notification of an answer. Legal basis: consent (Art. 6(1)(a) GDPR). Email retention: 90 days after notification, 12 months maximum without an answer. To exercise your rights, see the GDPR section of our Terms and Conditions.