2009-02-20

Installing Wordpress Locally - XAMPP lite

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!

Add Your Thoughts

Gravatar

Commented by: grdankenbörsen-blog, 28 April, 2009

Thanks a lot!!!

Gravatar

Commented by: Dolphin Resources, 17 May, 2009

Thanks for the cool and detailed guide. Xamp is something I've been meaning to play around with. This should help. Many thanks.

Gravatar

Commented by: sandesh, 9 September, 2009

please help.when i type url http://localhost/
nothing comes just white space.
Using firefox 3.5.also tried in crome.

Gravatar

Commented by: Luis, 11 November, 2009

Just getting started with all this...
Excellent guide, thanks for taking the time. It worked like a charm.

Gravatar

Commented by: Ben Hurtisson, 4 January, 2010

Thanks for useful guidelines about Wordpress installation.

Gravatar

Commented by: gerhard, 21 January, 2010

please help.when i type url http://localhost/ nothing comes just white space. Using firefox 3.5.also tried in crome.

Gravatar

Commented by: Alvin Tan, 3 February, 2010

I've just installed WP 2.9.1 locally with XAMPP Windows 1.7.3 in my Vista PC.

Gravatar

Commented by: Sherri-Lee, 11 February, 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!

Gravatar

Commented by: moon, 17 February, 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?

Gravatar

Commented by: A-kid, 5 March, 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

Gravatar

Commented by: dom, 7 March, 2010

Excellent article.
Any chance to have the same for the transfert from local xampp lite to a distant server?

Gravatar

Commented by: webboc, 15 March, 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!

Gravatar

Commented by: Chris Ransom, 31 March, 2010

Great guide and very useful. Just one minor problem - I had to use the XAMPP readme file to get Xampp installed and running.

Gravatar

Commented by: aanmind, 24 June, 2010

how to upload offline setting to wordpress hosting..?

Gravatar

Commented by: Priyanka Bhowmick, 19 August, 2010

Thanx it worked.. i had been trying since a lonnggg time :D

Gravatar

Commented by: Meo;, 8 September, 2010

Great tutorial!

For anyone getting the Firefox white screen see this tread on a different site for possible solutions:

http://www.apachefriends.org/f/viewtopic.php?f=16&t=36787&start=0&sid=e9016adf7933f7c9441a7557c8404046&view=print

Gravatar

Commented by: arjun, 9 September, 2010

Good Article!

The Next step is to sync wordpress site on local machine from production server and for this, See Following

http://www.techbrij.com/238/setup-wordpress-on-local-xampp-from-production-server

Gravatar

Commented by: IT Expert, 19 September, 2010

Thanks for the information, it was really useful. I was looking for it and I will be waiting for your next post.


Nancy smith:
http://www.itexpert.net

Gravatar

Commented by: PHP developer India, 18 November, 2010

The article is informative.Followed the steps as mentioned in the post for the installation of xampplite, but when the url is being typed , error is getting into it of object not found.If you could provide with some solutions then i can carry on with the further procedure.
http://www.expertsfromindia.com

Gravatar

Commented by: heather, 30 November, 2010

hi i've done everything thus far but when i type in http://localhost/wordpress/wp-admin/install.php it says Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
30/11/2010 15:34:48
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 and i have no clue what to do, can someone help me?

Gravatar

Commented by: Hire PHP Developers, 2 February, 2011

Thanks for this nice article and i got this really very useful

  • 2011-11-18

    Have You Secured Your Blog?

    Operating your own blog is not only fun and entertaining, but it can also turn into a profitable venture. Many beginner bloggers are under the impression that they can simply open an account with one of the popu...
    security problem
  • young bloggers
    2011-05-24

    Top 5 Blogging Platforms 2011

    What are the key ingredients of an excellent blogging platform? Prominence, high average readership, a clean visual presentation, and the ability to adapt to changing trends are vital components to any platform ...
  • wordpress beginners3
    2011-03-09

    The Beginner's Guide to WordPress

    Launching a successful blog takes time. But thankfully, simple blogging scripts like WordPress have made the start-up process much easier. Even if you have minimal computer skills, you can build your own blog us...
  • wordpressthemes2
    2010-12-08

    The Best WordPress Themes for Small Businesses

    When starting a small business it’s important to make sure potential customers see your product, whether it’s a service, portfolio or online store. WordPress offers unlimited options to showcase your busines...
  • 2010-09-03

    Why Start a Blog?

    The online world of blogging, communicating your thoughts, ideas, and opinions for all the world to see, can be an intimidating community to consider joining. Why start a blog in the first place, and what possib...
  • 2010-09-03

    Starting a Blog – The First Steps

    Did you know that our current culture is one of the most literary leaning in the history of civilization? Not since ancient times have the general populous been engaged in keeping diaries of their daily lives. W...
  • 2009-11-05

    20 Great UX Blogs for Web Designers

    Usability and user experience (UX) are often underestimated by web designers but if you want your sites to have a professional touch as well as keeping your vistors happy, you can't afford not to pay attention t...
  • 2009-04-28

    21 Wordpress Plugins Of All Time

    As there are some +4000 plugins out there we thought it is well about time to create a more comprehensible list for you fellow wp-peers. We spent last weekend testing Worpdress plugins, around the clock until...
  • 2009-03-26

    Six Easy Steps DIY: Move Your Wordpress.com Blog

    Wordpress.com currently hosts millions of blogs (and counting), most of them content with WordPress as the hosting provider. But every year thousands of bloggers still make the journey to the other side - the...
  • 2009-03-03

    Stop Tweaking! Create Your Own Wordpress Theme

    This tutorial goes out to anybody who has ever found a Wordpress theme he thought he liked only to end up tweaking the stylesheet and template files until it looked nothing like the original. We ask you this;...

1 2

Overall Best Web Hosts

1. $2.95Review Visit
2. $4.45Review Visit
3. $3.67Review Visit
4. $4.95Review Visit
5. $5.95Review Visit

Buying Guide

Can't decide what hosting is right for you? Answer 2-5 questions and get your perfect hosting match!

To Questions

User Reviews

Make your voice heard. Review your web hosting provider - good or bad.

  •  
  •  
  •  
  •  
Everything has been very stabile and I was very impressed with all the features and extras that were included in the plan.

Bill about iPage

Read iPage Review