Easily Setup WordPress Locally on Windows XP – How To

wordoress-xampp-logoBlogging being a new hype for running business now-a-days, every one is trying to find new ways to have online presence or to earn some decent amount of money through online advertising. Even those who have some creativity are choosing blogging as among the easiest platform to work online and earn money from it.

Blogging is getting easier as new ways are coming for user friendly blogging experience along with new CMS (Content Management System) for different needs and types of blogging.

This tutorial is about Installing a CMS locally on Windows XP. The process is same for many of the CMS. Therefore, I have decided to teach you on how to install WordPress. This will particularly come in handy while design and testing themes for your blogs.

Important Note: CMS need a webserver MySQL or PHP to run, locally this function is done by XAMP Lite. Xamp is a local server easy to setup, easy to run, easy to tweak. It is so easy that you will install you own wordpress or CMS locally with in 10 minutes!

Here is how its done;

1. Grab XAMP Lite (for Windows) and Install it in “C:\” Drive

wp-guide1

2. Browse and goto C:\xampplite double click setup_xampp or setup_xampp.bat

3. Once done, double click xampp-control.exe and click on start the Apache and MySQL services.

wp-guide

Note: Certain errors can resist and service may not start. One error may be about MySQL or apache is busy. In order to solve this issue, go to Start -> Run -> and type cmd a command line interface will open, there type iisreset / stop after 3 sec the service will be stopped, then try to start that service again. (or get more info on this here).

4. Now open your browser (may it be Firefox, I.E, Safari, Opera or any other) and enter this address in the address bar: http://localhost/. From the menu on the left column, choose your preferred language. Although english is set by default if the language on your system is in English language.

5. Now that the interface displays a language that you can understand, click on phpMyAdmin (on the left column once again)

6. Enter “wordpress” (without quotes) in the “Create New Database” Field, and select utf8_unicode_ci in the drop down box in the next field (as shown in the picture below). Click on Create. The Xampp setup is now complete.

wp-guide4

It is needed by wordpress CMS, for certain other CMS or another wordpress installation, you can name it as you like, simply mention it as it is while in installation process.

7. Download WordPress and unzip it under “c:\xampplite\htdocs“.

8. Now we have a wordpress folder in c:\xampplite\htdocs. Browse and go to the folder, and you will see a file named “wp-config-sample.php“. Open it in your favorite text editor and replace the default values with the ones you see below. Save the file and change the name into “wp-config.php” (without quotes). Note we have removed the “-sample” in the file name.

// ** 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.

wp-guide5

9. Open browser and goto http://localhost/wordpress/wp-admin/install.php .Follow the instructions as illustrated while installation of wordpress. In the end you will be provided with a password. Note it down some where safe; you can later change this password from the settings menu inside WordPress.

10. Now in the end if you want to access wordpress locally, active the program i.e. XAMP Lite. Open your browser, type the following: ” http://localhost/wp-admin/index.php”. You will now be inside your wordpress dashboard.

If you find any trouble during the process, feel free to comment. [source]

Related Posts:

Tags: ,

Previous:
Next:





Share Your Thoughts!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>