Winnipeg Photographer


How to install PHP in Windows 2008 Server and IIS

  1. install package in C:\PHP (for example) from php.net but I would recommend use zip package since you will do the manual setup anyway.
  2. Edit php.ini to set extensions that you want to enable
  3. Set environment path=c:\php;%path%
  4. IIS Manager steps
    1. Open the Internet Information Services (IIS) Manager.
    2. Double-click “Handler Mappings” from the main IIS screen.
    3. Click on “Add Script Map.” to add "script mappings" handler for for c:\PHP\php5isapi.dll with extension *.php and answer "yes" to create "isapi and cgi restrictions" when prompted
    4. Set your web site application pool to "Classic mode"
    5. Add ISAPI filters to point to c:\PHP\php5isapi.dll
  5. Copy c:\php\php.ini to c:\windows
  6. Reboot your server…
 
Done !!

Leave a Reply