How to install Wordpress on Windows under IIS - Step by Step - Part 2

January 10, 2008 – 11:19 am

This is Part 2 of an easy step by step tutorial on how to install Wordpress on a Windows Platform and run it under Internet Information Services (IIS).

If you have not read Part 1 you can read it by clicking here -> How to install Wordpress on Windows under IIS - Step by Step - Part 1 .

Let’s continue with Part 2.

Configuring IIS Settings

  1. We now need to change some settings in IIS.
    1. Open IIS go to Control Panel -> Administrative Tools -> Internet Information Services
    2. Under web sites select you default or localhost site. Right click then -> properties.
    3. Click the Home Directory Tab and change the Local Path to “C:\wamp\www” (This is the default “localhost” path when you install WampServer)

      IIS Home Directory<br>   		Click to Enlarge

    4. Then click Configuration and then click Add under Application Mappings
    5. In the executable -> Browse for the “php5isapi.dll” file in the php folder.
    6. The extension type “.php”
    7. Choose All Verbs
    8. Check Script Engine and Check That the file exists.
    9. Ok, Ok, back to site Properties and click on Documents.
    10. Click Add and enter “index.php”
    11. OK, OK back to the IIS window.
    12. Right Click Web Service Extension and Choose Add New….
      1. (It appears that IIS in Windows XP does not have an Web Service Extensions or if it does, you won’t be able to access it….. however i skipped this step in XP and it still works. But you have to do it with Windows Server.)
    13. Extension name enter “PHP”

      Add New Web Service Extension

    14. Click Add next to required files and select the “php5isapi.dll” file in the php folder again.
    15. Check “Set extension status to Allowed” and click OK.

      Environment Variables

  2. Environment Variables - You have to add the path to your php folder in Environment Variables.
    1. Go to Control Panel -> System -> Advanced -> Environment Variables
    2. Under “System variables” look for “Path”
    3. Highlight it and click Edit.
    4. You need to add the path to your php folder to the end on the Variable Value. Use a semi-colon “;” then the path. Click OK.

      Environment Variables - You have to add the path to your php folder in Enviroment Variables. - Click to Enlarge

    5. Now click New to Add a New system Variable. For the Variable name use “PHPRC” and value put the path again.
    6. Ok, Ok, Ok all the way out.
    7. For the Environment Variables to take effect we have to reboot.

If you have any questions or comments please submit them below.

After rebooting we can continue onto Part 3.

How to install Wordpress on Windows under IIS - Step by Step - Part 3

Related Posts:



Leave a Reply