How to host PHP on Windows Server

This web hosting tutorial will explain how to host PHP on Windows Server.

Best Web Hosting

Install PHP on Windows Server

You should download and install the PHP Windows installer from http://php.net/manual/en/install.windows.php

It will install and configure PHP and all the built-in and PECL extensions, as well as configure many of the popular web servers such as IIS, Apache, and Xitami.

First, install your selected HTTP (web) server on your system, and make sure that it works. Then proceed with one of the following install types.

Normal Install

Run the MSI installer and follow the instructions provided by the installation wizard. You will be prompted to select the Web Server you wish to configure first, along with any configuration details needed.

Silent Install

The installer also supports a silent mode, which is helpful for Systems Administrators to deploy PHP easily. To use silent mode:

msiexec.exe /i php-VERSION-win32-install.msi /q INSTALLDIR=e:\php

Setup FastCGI

You should Setup FastCGI to run PHP apps on IIS 6.0 or IIS 7.0. Read more in http://php.iis.net/

Find PHP Windows Web hosting provider

You could also find PHP Windows hosting provider and just to deploy your PHP website.