Saturday, June 27, 2009

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!

3 comments:

mike said...

define('DB_NAME', 'wordpress'); // The name of the database


what database?

i just wanna install wordpress so that my server will use to help with my web site creation, i dont know what this database is, does wordpress have this database? apache, php? i didnt even know mysql existed before here so im not sure where i go to find passwords or usernames maybe this guide could be a little more simple to understand with direction rather than-----

get this, edit this, find this, insert this and your done wasnt that simple? erm no a little more info maybe?

mike said...

oh i see you make your own database in mysql---- so apart from right click and create new * i have no idea how to make a database and where is mysql.2?

Randy said...

on the last step of installing wordpress i get an error message "Object not found!" and "Error 404". can you help? anyone???