How to Install WordPress (Locally) on PC with XP

This is a modified version of GeeksAreSexy’s guide in installing WordPress.

For this post, I would assume that you have the following on your box:

  • Apache
  • PHP
  • MySQL
1. Create a database named wordpress in MySQL.
2. Download WordPress and unzip it in C:\Program Files\Apache2.2\htdocs
3. Open wp-config-sample.php using your favorite text editor (e.g. Notepad) and replace it with the following values:
// ** MySQL settings ** //
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘root’); // Your MySQL username
define(‘DB_PASSWORD’, ‘password’); // Your MySQL password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
4. Open your web browser and navigate to: http://localhost/wordpress/wp-admin/install.php
5. You should now see the welcome note of WordPress. Enter the necessary information. Enjoy!

Leave a comment... :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s