How to Install WordPress Locally on Windows

Install WordPress Locally

Download and Extract XAMPP Lite

1. Go to
2. Download XAMPP Lite.exe (the .exe is a smaller, faster download)
3. Move the download to the root of your C drive C:\
4. Run the .exe and the directory will be installed

Startup Apache and MySQL

1. Open the xampplite folder
2. Double click setup_xampp.bat
3. After the program tells you to have fun, press any key on your keyboard
4. Now double click on xampp-control.exe
5. Now start the Apache and MySQL services

6. If everything worked, you will see Running next to those 2 services

Create a New Database

1. In your browser of choice, navigate to http://localhost/xampp /splash.php
2. Click on your language
3. On the left hand side, under Tools, click phpMyAdmin
4. On that page, you will see the MySQL heading, like in the screenshot below


5. Call the database wordpress and select utf8 unicode ci from the drop down menu
6. Click Create

Install WordPress

  1. Download and extract WordPress to your desktop

  2. In the extracted folder, open the file wp-config-sample.php in a text editor

  3. Edit the file to look like this:

    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', ''); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

  4. Save the file as wp-config.php

  5. Now open up the Xammplite folder on your C drive and then open the htdocs folder

  6. Copy the whole WordPress folder here

  7. Finally, use your browser and navigate to http://localhost/wordpress/wp-admin/install.php


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s