It's important to note that Apache is certainly not the only Web server that supports PHP. In fact, you'll be hard-pressed to find one that doesn't. In the next section you'll find some information on using Microsoft IIS and PHP; there is plenty more information for additional servers listed in the PHP Manual at http://www.php.net/manual/en/installation.php.
These instructions are the basics for installing PHP as an ISAPI module with IIS 4 (or newer). First, start the Microsoft Management Console (also known as the Internet Services Manager on some systems). Right-click on your Web server and select the Properties tab to get to the starting point. Then do the following:
Under ISAPI Filters, add the PHP filter (php4isapi.dll) as a new filter.
Under Home Directory, click the Configuration button.
Add a new entry in the Application Mappings area, using the path to php4isapi.dll as the value for Executable. Use .php as the extension for PHP pages.
Check the Script Engine checkbox.
Close the dialog box.
Stop IIS completely, and then start it.
PHP and IIS should now be functioning together.