Installing WordPress on your local machine

This tutorial will walk you through the basics of getting WordPress running on your local machine.

Covered topics are:
Downloading WordPress – 0:44
Downloading XAMPP – 1:40
Creating the Database and User – 3:06
Running the Install – 4:54

Tools and Links:
WordPress –

Installing WordPress on your local computer is an easy process, and can usually be completed in under 10 minutes. The are many advantages of having WordPress running locally, no worries about security during the development phase, the ability to recursively search for files, use of your favorite text editor, and lightning fast changes when you save a file, no uploading it to the server.

Step 1- Download WordPress

Download the latest copy of WordPress to your computer. I like to create a new project folder to store master files in while I am working. So I have created a folder named Installing_WordPress for this tutorial. Unzip the downloaded package. My favorite unzip software is 7-zip. Just right-click on the downloaded zip file, and choose to extract here in your project folder. You should end up with an extracted folder named wordpress that contains all the files necessary to install the software.

Step 2- Get your web server running

I am running Windows 7, yes it is 2014, yes I am behind the times and should probably own a Mac. :-) Regardless, the best local web server application for me is XAMPP. XAMPP stands for Cross Platform – Apache – MySQL – PHP – Perl: which are all the key things you need to run WordPress, an Apache web server, MySQL database, and the PHP programming language. So Download XAMPP and install it to your computer. In my case it is installed to C://xampp. Open the XAMPP Control Panel, and click the start buttons next to Apache and MySQL. This will start your web server running, and initialize the database application.


Step 3- Create the Database

We need to create a database for WordPress to use, so with your XAMPP control panel open, click the Admin button next to MySQL. It should take you to http://localhost/phpmyadmin. Now in the menu across the top click Users. Scroll down and Click the Add User link. The username can be anything you choose, in my case I used wordpress_install. Host will be localhost. Password can be anything you choose. Before clicking the go button at the bottom right, scroll down and check the box next to “Create database with same name and grant all privileges”. This will create both the empty database and the user that can access that database.


Step 4- Install WordPress

Lets go back to our project folder where we extracted the WordPress files in step 1. I renamed the folder to wordpress_instal so it wouldn’t copy over or conflict with any other WordPress installations on my computer. We need to copy or move this folder into the public facing web directory of our XAMPP installation. In my case it is C://xampp/htdocs. So copy the entire wordpress_instal folder, and paste it inside the htdocs folder. We are almost done! You now need to visit the local URL of that folder so you can run the WordPress installation. Open http://localhost/wordpress_instal in your browser and you should be greeted by the installation screen.


From here it is simple as pie, choose your language and click Continue. Make sure you have your database username and password, and click “Let’s Go!”. Fill in the Database Name, User Name, Password, leave your Database Host at localhost, and Table Prefix as wp_. If all goes well you should get an “All right, sparky!” and a button to Run the install. Now choose your Site Title, administrator Username (I recommend your email address), Password, Your Email and click Install WordPress.

WordPress has been installed. Were you expecting more steps? Sorry to disappoint. :-)

Need help? Contact the Guru!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may 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>