1. Login to the Plesk panel of the domain name for which you wish to switch the PHP version
2. Click the Website & Domains.
3. Here, click the Virtual Directories link.
4. Under the Tools section, click the PHP Settings button

5. Select the required PHP version and click the OK button.
You may switch back to an earlier version through the same process as mentioned above.