[Mediawiki-l] Install on Windows Problem

Platonides Platonides at gmail.com
Tue Mar 29 00:07:03 UTC 2011


Nat Colley wrote:
> I am trying to install MediaWiki on a windows machine (wamp) as a testing server. As near as I can tell, all has gone right
> with the download and installation of the wamp – php info comes up, for
> example. But navigating to index.php gets me this:
> 
> "* If you are reading this in your web
> browser, your server is probably not configured correctly to run PHP
> applications! " 

That points to php not working on your server. You need to fix it first.


> Then the install.php comments say: 
> 
> "To run the install script, you'll need to temporarily make
> the 'config' subdirectory writable by the web server. The simplest way to do
> this on a Unix/Linux system is to make it world-writable: 
> 
> chmod a+w config 
> 
> Hop into your browser and surf into the wiki
> directory." 

Are you also seeing
> Setup has completed, your wiki is configured
> Please delete the /config directory for extra security.
> Can't write config file, aborting
> To run the install script...
> Checking environment...
> Please include all of the lines below when reporting installation
problems.
> PHP " . htmlspecialchars( phpversion() ) . " installed
etc. ?

(a mixture of all possible messages given by the installer)

Then it is a consequence of not having php enabled. Goto step 1.


> Well, obviously I am not on unix or linux. Right
> clicking on the config folder and going to properties tells me that this file
> is read only, but if I uncheck the box it goes right back to being read only
> anyway. I seem to remember that in Windows you have to go up to the highest
> folder because all these properties are normally inherited downward. I did that
> all the way up to my drive itself, and it still doesn't stop them from being
> read only. 
> 
> Your assistance, patience, and wisdom are greatly
> appreciated.  Thank you.

If your issue is really with permissions writing the config folder, I
would wait for 1.17rc1 (planned for this Friday) and install it.
It uses a new installer that gives you LocalSettings.php for download
instead of writing it itself.




More information about the MediaWiki-l mailing list