Summary: Talk page for InstallOnIIS.
Users: +2 (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.


This recipe was written after a frustrating effort to get PmWiki running under IIS when previously it had worked fine under Apache 2.2.

PlatformWindows Server 2003 SE SP1


Hi I had to edit the Configuration properties of the Virtual Directory of PmWiki to get it to work. The default installation of php under Windows puts it under the c:\Program Files folder, and this means there is a space in the path, which causes problems.

So I had to start IIS Administration, select the PmWiki virtual directory, edit its Properties, then select Virtual Directory, then click on Configuration, and select php in Application Extensions. There the executable path contains tildes ~, which must be the culprit. Simply click Edit, then browse to the directory where your php5isapi.dll is located. After you have selected the file, make sure it is surrounded by double-quotes. Click on Ok on everything to accept the settings. Now it should work.

Christophe Keller, 06 Sept. 2007

QUESTION: Has anyone figured out how to get CleanURLs working under IIS?

-Peter Bowers April 03, 2008, at 01:06 AM

Peter, I've started working on this with IIS 7 and the Url Rewrite 2.0 module. I've gotten clean urls, but have not yet gotten rid of pmwiki.php. I'll keep you posted. I used MichaelPaulukonis June 12, 2014, at 10:56 AM

I was eventually able to get rid of pmwiki.php. I have some notes @ (That blog is NOT running under IIS)

MichaelPaulukonis July 17, 2014, at 03:22 PM

Write Permission under Windows XP

To give PmWiki permission to write to wiki.d under Windows XP & IIS you have to use the security tab in the folder properties. By default, Windows XP users have that security tab hidden. To show it follow the following procedure:

Open My Computer
Tools > Folder Options
Go to the View tab
In the bottom of the list uncheck “Use simple file sharing (Recommended)”

Now you will have the security tab shown in the properties of every folder. Now, to give write access to PHP in order to fopen, copy or upload a file, follow this procedure:

Right click on the folder where you want give write access (wiki.d)
Go to the Security tab
Select the Internet Guest Account ([username]/IUSR_[username])
Allow the Write and Modify access. (You can give full permission)
Then press Ok.

Bernard Haston 28 Sept 2007

Talk page for the InstallOnIIS recipe (users).