Install wordpress on localhost using WAMP

Install WordPress on your Windows Computer Using WAMP

Abd Ur Rehman WordPress Leave a Comment

You can install WordPress on your personal computer for learning and testing purposes. The process of installing WordPress on your personal computer is also known as setting up a local server environment or localhost. Often theme designers and plugin developers install WordPress on a local server environment to speed up their development process.

An average user can use the local server environment to test plugins and/or make changes to the site before making it live for their audiences. In this article, we will show you how to install WordPress on your Windows computer using WAMP.

Note: If you install WordPress locally on your computer, then the only person who can see that site is you. If you want to have a live WordPress site available to the public, then you need to have a Domain and WordPress Web hosting.

What is WAMP?

WAMP or Wamp Server is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. Basically, you need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but on windows I use and recommend WAMP. It is free and easy to use.

Make sure you select the correct installer file for your version of Windows. If you don’t know if your system is 32-bit or 64-bit, right-click on My Computer, and then click Properties.

Windows 7 System Type Settings

Installing Wamp Server on your PC

First thing you need to do is go to Wamp Server website and download the latest Wamp Server. You will be presented with various options on their download page. Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will work on 64-bit versions of Windows.

Here’s Wamp Server website.

Now download Wamp Server.

Download Wamp Server

After downloading you’ll get this file. Just run the installation program and follow on-screen instructions.

Installing Wamp on Windows

Select your language.

Installing Wamp on Windows

Click I agree and next.

Installing Wamp on Windows

Select the folder where you want to install and next.

Installing Wamp on Windows

After that you’ll see the following screen and here it may take 5 to 7 minutes depending on your PC speed.

Installing Wamp on Windows

From following window you can see the phpMyAdmin details username and password.

Installing Wamp on Windows

When installation is done just finished.

Installing Wamp on Windows

At one point during the installation, WampServer will ask for the location of the default web browser. By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files.

You’re done with installation so launch WampServer for WordPress install.

Setting Up a Database for WordPress

WampServer comes with phpMyAdmin, a web based application to manage MySQL databases. Click on the Wampserver icon in windows taskbar and then click on phpmyadmin.

Launching phpmyadmin in wampserver

phpMyAdmin will open in a new browser window. Click on Databases in phpMyAdmin to create a new database for WordPress. Choose a name for your database and click on Create button.

Creating a database in phpMyAdmin for WordPress

Installing WordPress on Windows with WAMP

Download a copy of WordPress from WordPress.org. Extract the zip file and copy the wordpress folder. Go to C:\wamp\www and paste wordpress folder there. You can rename the wordpress folder to anything you want for example mysite, etc. For the sake of this tutorial, I renamed it abdurrehman.net . Now open a web browser and go to: http://localhost/abdurrehman.net/

You’ll see the following screen and click continue

WordPress Setup Configuration

WordPress will inform you that it can not find a wp-config.php file. Click on Let’s go! button to create it.

Create wordpress configuration wp-config file

On the next screen, you need to provide your database information. The database name will be the one that you selected. In our case, I called it test_db.

Please note that your default database username will be root and by default it’s blank but I set it to root as well. Click on the submit button and WordPress will create a configuration file for you.

Provide your database information to install WordPress on localhost with WAMP

After this you will see a screen informing you that WordPress has successfully created the configuration file, and you can proceed with the installation. Click on Run Install button.

Run WordPress Installation Script

On the next screen, fill out the installation form. You need to provide a title for your website, choose an admin username and password, and provide admin email address. Finally press the Install WordPress button.

WordPress Installation Page

WordPress will quickly run the installation and create database tables. Once done, you will see a success message after the installation. After that you’ll  proceed to your WordPress Log In page to WordPress admin.

WordPress login page

We have completed installation of WordPress on Wamp Server, if you have installed Skype on Windows then you may face problem see following troubleshoot.

Troubleshooting WAMP Skype Error

As said, If you have Skype installed and running then WampServer may not be able to work properly due to a conflict with Skype. The conflict is caused by both Apache and Skype using the same port 80. There is a simple fix for this problem. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.

Fixing Wamp / Xampp Skype Conflict

Related topics:

Leave a Reply

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