Installing Wordpress Locally - XAMPP lite
Published: Feb 20, 2009
XAMPP lite is a server software and is perfect when you are putting together a website. Rather than uploading your files on your remote web server hosting account, with XAMPP lite, you will be able to work offline, directly on your computer. We have created this manual for you who want to install Wordpress locally while re-designing a theme or creating your own. Simply follow these easy steps and you'll have Wordpress installed on your local computer in less than 10 minutes.
1. Download, install and activate to root directory
Download XAMPP lite here. The required operative system on your computer is Windows XP. The first window will ask for a location to extract to. Choose your C drive as root directory for installation.

When all files have been extracted, go to C:\xampplite and open setup_xampp.bat. Then open xampp-control.exe. This is the control panel application; activate server module Apache and database module MySql by clicking the start button to the right.

2. Create a MySQL database in phpMyAdmin
Now it's time to create a new database for your local Wordpress site to be. Open your favorite web browser and type in the following url: http://localhost/. Choose a language and click on the link phpMyAdmin in the left sidebar in the following page.

Locate the Create New Database fields, choose utf8_unicode_ci in the drop down box saying MySQL connection collation. Wait until the window has reloaded, then choose utf8_unicode_ci in the drop down box beside the database name field; where you type in the name wordpress. Then click Create.

3. Download and install Wordpress
Download Wordpress 2.7 here. Extract the files to this location: C:\xampplite\htdocs. Locate the file wp-config-sample.php and open it:

- Change the DB_NAME to wordpress
- DB_USER to root
- DB_PASSWORD you have to leave password empty since it is not required for local installation.
Rename wp-config-sample.php to wp-config.php and save it.

Finally, open your web browser and enter this url: http://localhost/wordpress/wp-admin/install.php. Enter your blog title and email address. Write login information down on a piece of paper. Woops, you have Wordpress installed on your local computer.
To get the most out of your Wordpress site you need great hosting supporting it. We have created a list with what we believe to be the best Wordpress hosting plans. We have taken things such as price and included features into consideration when picking the following as our top three Wordpress hosts:
If you experience any problems installing XAMPP lite or Wordpress, feel free to comment on this article and we'll help you out. Good luck!

Comments
grdankenbörsen-blog
13:32, April 28, 2009
Thanks a lot!!!
Dolphin Resources
12:48, May 17, 2009
Thanks for the cool and detailed guide. Xamp is something I've been meaning to play around with. This should help. Many thanks.
sandesh
11:14, September 9, 2009
please help.when i type url http://localhost/
nothing comes just white space.
Using firefox 3.5.also tried in crome.
Luis
23:12, November 11, 2009
Just getting started with all this...
Excellent guide, thanks for taking the time. It worked like a charm.
Ben Hurtisson
14:35, January 4, 2010
Thanks for useful guidelines about Wordpress installation.
gerhard
05:32, January 21, 2010
please help.when i type url http://localhost/ nothing comes just white space. Using firefox 3.5.also tried in crome.
Alvin Tan
18:59, February 3, 2010
I've just installed WP 2.9.1 locally with XAMPP Windows 1.7.3 in my Vista PC.
Sherri-Lee
12:02, February 11, 2010
Was doing great until step 3 - "
Locate the file wp-config-sample.php and open it:"
Can locate it but can't open it... any ideas?
Thanks!
moon
18:39, February 17, 2010
This article is so interesting. i did installation of xampplite just like this tutorial. After installation,i typed "http://localhost/xampp/wordpress" at url, but the result is "object not found". I don't know what's going on. can anybody help me?
A-kid
08:46, March 5, 2010
You need to make sure that you have put your wordpress installation folder into your C:\xampplite\htdocs folder so that you folder path is C:\xampplite\htdocs\wordpress
dom
05:37, March 7, 2010
Excellent article.
Any chance to have the same for the transfert from local xampp lite to a distant server?
webboc
12:44, March 15, 2010
Great tutorial but I also came against a blank white screen.
However, I managed to get around this by:
1) Extracting Wordpress to the htdocs folder.
2) Do NOT manually configure and rename WP-config-sample.php as indicated in the tutorial but instead;
3) Open your browser and enter http://localhost/wordpress/wp-admin/install.php
4) Follow the Wordpress instructions on the screen.
Worked for me!
Chris Ransom
05:39, March 31, 2010
Great guide and very useful. Just one minor problem - I had to use the XAMPP readme file to get Xampp installed and running.
aanmind
00:54, June 24, 2010
how to upload offline setting to wordpress hosting..?
Priyanka Bhowmick
08:13, August 19, 2010
Thanx it worked.. i had been trying since a lonnggg time :D