Manual talk:Installing MediaWiki on Windows Server 2008

I have done IT support in the past but am a complete newbie re. PHP, mysql and mediawiki installs. I understand this is not a support site, just documenting what I find here so I (or someone else) can pull it to the article end to amend. Tenbergen 19:05, 30 July 2010 (UTC)
 * There is a php.ini-development and a php.ini-production; not sure if I edit one of those, or if I am supposed to rename the appropriate one to php.ini only...
 * OK, inside the ini files it explains that dev was set up to deal with older apps that are broken by prod. I will start with prod, then..
 * What would correct output for phpinfo.php be?
 * a table with some graphics that describes the php service.
 * article says: Return to IIS Manager and select the server... Open FastCGI Settings - that doesn't give me enough to go from.
 * The fastCGI settings are only available if the admin pack has been installed. I needed to increase ActivityTimeout and RequestTimeout for the setup part of mediawiki to finish, before that it timed out.
 * got error "Something's not quite right yet; make sure everything below is filled out correctly." Under "database host" it said "Connection failed"
 * changed from default "localhost" to 127.0.0.1, worked. Yay!
 * >>Quick note on localhost: This is related to the change to IPv6. By forcing an IPv4 address it works without complications. GuiderBob 19:29, 13 April 2011 (UTC)

MediaWiki's 404 page is replaced with IIS 7's
web.config file workaround didn't worked for me, now I get "500 (Internal Server) Error" message. --Vikici 09:53, 26 December 2010 (UTC)

I had the same problem, but I added some info to the page with the solution that worked for me.

Local paths
For definitions that point to a file/directory under Windows you should try not to use full paths. IE.

extension_dir = ext

upload_tmp_dir = uploadtemp ;instead of c:\PHP\uploadtemp

session.save_path = sessiondata ;instead of c:\PHP\sessiondata

The reasoning behind this is to keep the php.ini as portable as possible, and I suppose using full windows paths in the ini file is kind of ugly, partly because PHP *might* not be installed in the c:\ directory.

I also changed the open_basedir accordingly, and changed c:\ to the environment variable %SystemDrive%

open_basedir = "%SystemDrive%\inetpub\wwwroot;uploadtemp;sessiondata"

I have verified that my PHP webpages work with this configuration installed Rrostie (talk) 11:38, 4 July 2013 (UTC)