Skip to main content
Home
Blog

Main navigation

  • Home
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Knowledge Base
  4. How-To

How to install PHP on Windows 2008

By ongetc , 26 February, 2017

The IIS 7 that come with Windows 2008 has a big change on the interface and underneath structure so most installer for IIS6 or prior will not work any longer!

It took me some time to figure out how to get PHP install on Windows 2008 but as it turns out it is not hard at all! Just need to know the exact steps to do!

How to install PHP on Windows 2008

The IIS 7 that come with Windows 2008 has big change on interface and underneath structure so most installer for IIS6 or prior will not work any longer!

It took me some time to figure out how to get PHP install on Windows 2008 but as it turns out it is not hard at all! Just need to know the exact steps to do!

The steps are as follow:

1. Install the PHP 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. Open the Internet Information Services (IIS) Manager.

5. Double-click “Handler Mappings” from the main IIS screen.

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

7. Set your website application pool to "Classic mode"

8. Add ISAPI filters to point to c:\PHP\php5isapi.dll

9. Copy c:\php\php.ini to c:\windows

10. Restart the server.

That's it!

Forums
How-To

Reseller hosting (free)

Hosting24 (w/ ssh)

A2 Hosting

Monthly archive

  • September 2009 (14)
  • October 2009 (11)
  • January 2010 (2)
  • June 2010 (3)
  • October 2011 (1)
  • March 2012 (1)
  • July 2012 (1)
  • February 2017 (564)
  • March 2017 (5)
  • April 2017 (2)

Pagination

  • 1
  • Next page

Popular content

Last viewed:

  • Easy Site Builder
  • PHP-GTK
  • Liferay Portal
  • MosComLatestX
  • Website@School
  • HTML-Kit
  • WampDeveloper Pro
  • PhotoFrame
  • CakePHP
  • phpBB

User login

  • Reset your password