How to Change the PHP Version in VestaCP

The VestaCP panel is no longer offered for new servers. This guide is kept for those who already have it installed. For a new VPS choose FASTPANEL, ISPmanager or CloudPanel - see the FastPanel, ISPmanager server (VPS) and CloudPanel sections.

You can change the PHP version for a specific website in the VestaCP control panel.
To do this, log in to the VestaCP control panel:

Go to the WEB section:

Hover over the domain and click Edit:

In the Web Template HTTPD field, select the PHP version you need:

Click Save:

The changes will then be applied:

Questions and answers
Yes, the PHP version is set separately for each domain.
In the WEB section, by editing the domain.
No, the changes are applied automatically.