Install and Run WordPress in Your Computer

Last time when I want to test my design for my free wordpress theme, I will upload to my web hosting and run it in live. Recently, I started to learn how to run wordpress locally in Windows in order to save my time when the time I want to design free wordpress theme.

Here is a simple and easy guide that will help you install and run wordpress locally in your computer.

1. Download XAMMP lite for windows. Choose the exe version and then extract it in the root of C drive

2. Browse to C:\xampplit and double click setup_xampp.bat

3. Double click xampp-control.exe and start the Apache and MySql services

4. Open your browser and go to this address: http://localhost/. From the menu on the left column, choose your preferred language
5. Click on phpMyAdmin on the left bottom of the page

6. Create new database by entering the information as per following picture
7. Download WordPress and unzip it under c:\xampplite\htdocs.
8. After unzip the wordpress, browse to c:\xampplite\htdocs\wordpress and you will see a file named wp-config-sample.php. Open it in your favourite text editor and replace the default values by the ones you see under this paragraph. Save the file as wp-config.php (under the same folder).

// ** MySQL settings ** //
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘root’); // Your MySQL username
define(‘DB_PASSWORD’, ”); // …and password (needs to be empty, just for local install)
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

9. Open your browser and navigate to http://localhost/wordpress/wp-admin/install.php, set up the wordpress as per instructions.

Phone cards for domestic and international use, great rates and excellent connectivity.
International calling card plans offer the ultimate in convenience for phone card users at the lowest cost available.
Australia international phone cards for low-cost international calls from United States to Australia.


23 Responses to “Install and Run WordPress in Your Computer”

  1. Alex says:

    Consider http://www.witsuite.com for Wamp. It is most simple way to install apache, php, mysql on windows. It you prefer to install it manually, you can use the following instruction: http://www.witsuite.com/support/knowledge-base/manual-installation/install-php.php

  2. Eric says:

    I have a little bit confuse with your provided tutorial, I personally think that this is more complicated. Anyway, thanks for your information and links!

  3. Alex says:

    Eric,

    Yes, it is more complicated. But it allows you to have different php.ini for CLI, Apache, and IIS CGI, upgrade PHP just by unpacking new package into the application folder, have more then one PHP version installed, isolate temporary folders, do not create environment variables, etc. I like it very much :-)

  4. Eric says:

    Thanks for letting me know about all these. I will take time to learn about it later. :) It looks interesting!

  5. It really is this simple (although I use WAMP myself), and I have a mirror of my site on my work and home machines that I use as a sandbox in order to let me test plug-ins or themes before I upload them to my public site. Good post.

  6. Vic says:

    Just Zoomed and Happy Holidays From Blogging Zoom!!

    Vic

  7. dicky says:

    It is pretty simple to setup wordpress on your local computer using XAMPP. But if you want to get an all-in-one installation package, you can try Bitnami. I had an article about Bitnami. You are leave me an email if you have any question about it.

  8. Eric says:

    Thanks for your info, Dicky. I will look into it later.

  9. George says:

    How can additional WordPress versions be added under Xampp?

  10. Eric says:

    George, just overwrite the file will do!

  11. That was a great post. I will have to bookmark this site so I can read more later.

  12. I love your thoughts! I normally don\’t even bother to leave comments, but I wanted to let you know that you hit the nail on the head!

  13. Windu says:

    Nice info, it very useful for testing

  14. Hari says:

    Nice blog. Would you like for a link exchange? My blog has pr 6. Please comment on my blog, if you like to exchange links.

  15. dimas says:

    wordpress is very simple and the most popular …
    nice post !

  16. test says:

    nice article!

  17. Thanks for the tutorial.. =)

  18. bill smith says:

    Great tutorial. It was very educational.

  19. Dave Langley says:

    Great help for local use of WordPress. In my set up, during database creation, I’m asked for name of database and number of fields to create.
    You did not address this in the post. How many fields should be assigned the table?
    Dave

  20. heaven_poet says:

    very helpful information

  21. zainuddin says:

    Nice info, it very useful for testing

  22. vince says:

    Thanks for sharing. I am very new with wp, I installed your ads theme and still have to figure out how to change the title in the header.

    Anyway once you setup you wp in your local root how you upload with filezilla to the web host.

Leave a Reply