Posts Tagged ‘xampp’

Monday, October 20th, 2008

Installing WPMU on Localhost with XAMPP

XAMPP
I have XAMPP ( for Windows Version 1.6.4) installed on my laptop running on Windows XP.

This was done quite sometime ago, I couldn’t remember the process.
If you haven’t got one, go to Google and search for XAMPP, download and follow the setup installation.
It should be fairly simple.

I reckon most of you who are trying out the WPMU may already have xampp or other web server package installed.
This may be necessary when you were trying to tweak and test the template for WordPress or for viewing html files coded with PHP.

Installing WPMU version 2.6
In order for WPMU to run on your localhost, this is what you have to do:

  • Open and edit this file C:\WINDOWS\system32\drivers\etc\host with notepad (there’s no extention)
  • Add this line - 127.0.0.1 localhost.localdomain after 127.0.0.1 localhost
  • Take note of this file. You will need to come back and add another line when you are creating blogs under subdomain.

Creating New Blogs
If you have created your first blog say, named “test”, you will need to edit this file again - add another line: 127.0.0.1 test.localhost.localdomain

 

Next go to D:\xampp\apache\conf\httpd.conf (I installed xampp in Drive D )

  1. Enable this line by removing the “#” sign:
    LoadModule rewrite_module modules/mod_rewrite.so
  2. Change this line:”AllowOverride None” to
    AllowOverride FileInfo Options

Though posting in this forum hinted that this step may not be necessary:
http://mu.wordpress.org/forums/topic.php?id=6458

MYSQL
This part is tricky. I am not sure how others have this step done.
WPMU won’t install on existing database named “wordpress”.
Clearing all the data won’t help.

It has got to be a fresh installation. Only after I named the database “wpmu” was I able to complete the installation.

Installing WPMU on XAMPP may not be worth the time and effort.
I don’t find this necessary.
To view the template, I could login to previous install of the regular WordPress, only that I may get some error messages for codes meant for WPMU.

The forum seems to have most of the answers.
However, I didn’t quite understand the first time I came across the answer.

It seems that I have to be stucked in a situation so badly that when I went back to the forum and search for answers one more time before giving up; reading it a second time appeared to make some sense.

Starising Recommends...

//ff for archive