To select PHP version for a virtual directory within a website:

1.   Go to Websites & Domains and find the website’s domain name.

2.   Click Virtual Directories.

3.   Browse to the required directory and click a link with its name.

4.   In the Tools group, click PHP Settings.

5.   Select the required version of PHP and click OK.