|
Cookbook /
InstallOnIIS![]() Summary: How to install PmWiki on IIS
Version: 2.2 beta
Prerequisites: Installation of PmWiki and PHP
Status: living document
Maintainer:
Questions answered by this recipeHow do I get PmWiki to work using the IIS webserver?
How do I give PmWiki permissions to write the wiki.d directory? Installing PmWiki under IIS.Locate the Internet Information Services (IIS) Manager (in Control Panel | Administrative Tools) and open it. ![]() ![]() Follow the wizard to set up the website, accept the defaults except as noted below
![]() ![]() Start the website by right mouse clicking on the new website and selecting start ![]() Ensure that pmwiki.php is set as a default document type by right mouse clicking on the Websites folder icon and selecting properties. Choose the Document tab and add pmwiki.pgp as a content page. ![]() ![]() PmWiki writing to wiki.dTo give PmWiki permission to write to wiki.d you have to
![]() Problems
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters]
NotesThis recipe was written after a frustrating effort to get PmWiki running under IIS when previously it had worked fine under Apache 2.2.
Release Notes
CommentsHi 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?
Write Permission under Windows XPTo 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) - Properties - 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 See Also
Contributors |