PHP on IIS 5.0

Installation

  1. Download php404.EXE from http://php.weblogs.com/easywindows
  2. Run php404.EXE, install and restart your computer
  3. Run as a CGI Mode
    1. Open [Internet Services Manager] ([Internet Information Services] for Windows XP)
    2. Select [Default Web Site], right click, select [Properties]
    3. Select [Home Directory] tab
    4. Select [Executive Permissions:] combo box to [Scripts and Executables]
    5. Click [Configuration], select [.php C:\INETPUB\SCRIPTS\PHP\php4isapi.dll] and click [Edit] button
    6. Edit [Executable] text box to [C:\Inetpub\Scripts\PHP\php.exe %s %s]
  4. Add a Command Search Path to php.exe
    1. Select [My Computer], right click and click [Properties]
    2. Select [Advanced] tab, click [Environment Variables...] button
    3. Select [Path] from below list box and click [Edit...] button
    4. Add [;C:\Inetpub\Scripts\PHP] to [Variable Value;] text box
  5. Open browser and open [http://localhost/scripts/php/test.php] and if you see the page properlly you've done.
    1. In case you saw an error message like [???.dll], open C:\winnt\php.ini and comment out ???.dll line

Back - Support
Google
Web www.grape-info.com