Plesk has the Multi-Version feature of PHP, allowing us to have different versions of PHP on different websites.
It also offers us an easy and quick way to have different versions of PHP.
To do this, first we must access our Plesk control panel and go to Tools & Settings >> Updates.
A new window will open and we click on Add/Remove Components.
Now we will expand Web hosting and then PHP interpreter versions.
In this way, we only have to mark "select to make it green" the PHP versions that we want to install.