We help you to understand IT better

Thursday, 30 July 2015

How to host PHP webpage in IIS

In this post we will walk through the steps which enables PHP in IIS

Before proceeding, check How to enable IIS in Windows 8/Windows 8.1/ Windows 10 to know how to enable IIS.

Prerequisites:
IIS must be enabled.

First download and install Web Platform Installer from http://go.microsoft.com/fwlink/?LinkId=255386

Open the Web Platform Installer

In the search box type PHP and hit enter

Find PHP 5.6.0(or any version) and click add and select install (Accept Agreement)


Now place this file test.php inside C:\inetpub\wwwroot


Now open http://localhost/test.php from your browser to check whether PHP is installed successfully or not.

Popular Posts