Step 11. Now Install some packages for php.For this click on Add Roles & features in Server Manager.
Step 12. Now Add Roles and Features wizard will open & click on Next to continue.
Step 13. Choose Installation type.Among the two select Role-based or feature-based Installation & click on Next to continue.
Step 14. Now select your virtual hard disk on which to install the roles and features.Among the two options Select a server from the server pool option & click on Next.
Step 15. Expand the web server(IIS) options by clicking on it from the available set of server options .
Step 16. Now Expand Web Server option under the Web Server(IIS).
Step 17. Expand the Application Development option under the Web Server & Select ASP NET 3.5 & CGI packages for PHP.Now Click on Next.
Step 18. Once you click on next it will show more servers list.Now click on Next again.
Step 19. Confirm installation selections,it will show your selections which you selected previously to install.Click on Install to Finish.
Step 20. After Installation move into your Web server IIS document root(C:\inetpub\wwwroot) & create and edit index.php file.
Paste the following code in index.php
Step 21. You can test your PHP by calling index page of php through any web browser.