Working with Other Web Servers

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

Installing on Microsoft IIS 4 (or Newer)

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:

  1. Under ISAPI Filters, add the PHP filter (php4isapi.dll) as a new filter.

  2. Under Home Directory, click the Configuration button.

  3. 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.

  4. Check the Script Engine checkbox.

  5. Close the dialog box.

  6. Stop IIS completely, and then start it.

PHP and IIS should now be functioning together.

PHP Essentials
PHP Essentials, 2nd Edition
ISBN: 1931841349
EAN: 2147483647
Year: 2002
Pages: 74 © 2008-2017.
If you may any questions please contact us: