Install WordPress Locally on Windows XP

by Shaun on January 30, 2009

in Blogging, How To

If your going to be creating your own custom WordPress themes, having WordPress installed on your local computer is a necessity. This is simply because everytime you need to check to make sure something works or to check out what  your revisions look like, your going to have to upload the files to your websever. Having WP installed locally is as simple as opening the file your working on and checking out the results. This shouldn’t take but at the max 10 minutes to install.

1.) Get XAMPP Lite forWindows and choose to download the EXE. Install this at the root C: folder.

2.) Browse to C:xampplite and double click setup_xampp.bat

3.) Double click xampp_control.exe and start the apache and mysql services.

4.) Open you browser and go to http://localhost/ From the menu in the left column choose your preferred language.

5.) Click on phpMyAdmin in the left column.

6.) Enter WordPress in the create new database field and select utf8_unicode_ci from the drop down box. Click Create. Xampp setup is completed.

7.) Download WordPress and unzip it to c:xampplitehtdocs

These Next Steps are crucial to follow exactly.

8.) You should now have a

WordPress
folder under c:xampplitehtdocs. Browse 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 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 , follow the instructions.


Related posts:

  1. Install Windows Live Messenger in Windows 7
  2. Install Firefox in Windows 7
  3. Install Utorrent Skins

{ 1 comment… read it below or add one }

1 trm96 January 30, 2009 at 1:59 pm

I just use my Linux server, I used to use windows for a server but windows does not make a very good server…

Leave a Comment

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

Previous post: Windows 7 Beta

Next post: WP-SpamFree Review