
On the Web Server Role (IIS) page, click Next. This selection also installs FastCGI, which is recommended for PHP applications. On the Select Features page, note the preselected features that are installed by default, and then select CGI. On the Select Server Roles page, select Web Server (IIS), and then click Next. On the Select Destination Server page, select Select a server from the server pool, select your server, and click Next. On the Select Installation Type page, select Role-based or Feature-based Installation and click Next In the Add Roles and Features Wizard, on the Before You Begin page, click Next. In Server Manager, select Dashboard, and click Add roles and features. On the Start page, click the Server Manager tile, and then click OK.

To install IIS, use the following steps: To install IIS on Windows Server 2012 Then go on to Step 2: Configure PHP Settings.


When you are done, make sure that IIS and the PHP are installed, and your PHP application has been added to your website. In this step of building a PHP website, you install IIS and FastCGI, download and install PHP and the WinCache extension, and upload your PHP application.
