Install WordPress on a Local Web Server Using WAMP

In this tutorial you’ll learn how to download, install and set up WAMP server, and WordPress with ease for local development.

wamp-wordpress

WAMP is a web server environment and it stands for Windows, Apache, MySQL and PHP. There are probably many similar bundles available but this is by far the most popular option available. In addition, it is simple to install and requires no tech skills whatsoever.

WordPress, as everyone knows, is the most popular blogging platform and if you want to know more about it, there’s a nice live stats page available. Furthermore, here are the numbers behind this powerful CMS by W3Techs:

WordPress is used by 53.9% of all the websites whose content management system we know. This is 16.2% of all websites.

So, this seems like a perfect start whether you test your upcoming WordPress blog, theme or even a plugin. One thing is clear – you want to develop it locally and then release for the public to see. Luckily, with the use of WAMP and WordPress, this has never been easier and without further due, let’s get started!

WAMP

Using WAMP is one of the best ways of developing and testing websites, and there are several reasons why this is a good idea.

wamp-server

1. Free

WAMP is totally free and using it for local development purposes is a great idea as opposed to using a web hosting service and paying a monthly fee.

2. Speed

Almost everything that is related to file editing and saving is instantaneous and will vastly improve the work efficiency. Doing the same thing on a hosting server involves file downloading and uploading, and while it may sound totally fine, generally it’s considered inefficient since those seconds add up and in the end you’ll waste a lot of time.

3. Privacy

Keeping mistakes away from the public and avoiding any leakage is also very important. Furthermore, the last thing you need is someone copying your ideas and stealing the content. Doing local development, you can rest assured that everything stays in place.

WordPress

Using WordPress as a CMS (Content Management System) has also a few major benefits.

wordpress

1. Free

What makes content management systems great is if they are freely available. WordPress is no exception and if you’re looking to start a blog from scratch without paying for custom made CMS, this is a perfect choice.

2. Easy to use

WordPress is easy to install and use and if you know how to set up a Facebook account and use Microsoft Word, then there should be no problem setting it up.

3. Security

WordPress is updated once in a while and it keeps hackers busy.

4. Extendable

I won’t delve into the topic of plugins, but if someone says that there is a plugin for something, he’s probably right. Plugins will come in handy when you want to do a certain task, for example, filtering spam with Akismet. There is no limit when it comes to extending the functionality.

5. Themes

Themes can greatly improve the outcome of your website since they provide more than just a pretty color. Multiple page layouts, custom made widgets are just few common features you’ll find when choosing custom made themes.

The actual process!

1. Download WAMP

The first thing we are going to do is download the WAMP server. Simply go to the download page and select whether you want to download 32-bit or 64-bit version. For this tutorial, I chose to download the 32-bit version.

wamp-download

A popup will open asking whether you want to receive training news from Alter Way, the company behind WampServer. You can skip it and click “download it directly”

wamp-download-directly

You will be redirected to SourceForge and the download will start within few seconds.

wamp-sourceforge

SourceForge is a web-based source code repository. It acts as a centralized location for software developers to control and manage open source software development.

When finished, simply click to launch the installer.

2. Install WAMP

First step is now done, let’s move forward! Installing WAMP is very easy since all default settings always work out perfectly.

wamp-setup-welcome

wamp-setup-license-agreement

wamp-setup-destination

wamp-setup-additional

wamp-setup-install

A window will pop up, asking you which browser should WAMP use. By default, it will choose Windows Explorer. But since many people use Google Chrome, I will select it by going to C:UsersUserAppDataLocalGoogleChromeApplication and clicking chrome.exe

wamp-chrome

wamp-setup-mail-parameters

wamp-setup-complete

When installation has been completed, you will notice WAMP icon in your notification area. Click on it, select “Start All Services” and ensure that icon is green colored. This means that everything related to WAMP is now up and running. You’ve successfully installed local web server and now we will move on to installing WordPress.

wamp-taskbar

3. Download and set up WordPress

First, you’ll need to download the latest WordPress version from their website.

Upon successful download, open the .zip file and extract everything from wordpress folder into www folder, located at C:wampwww

4. Create MySQL Database

Now comes the part where you need to set up MySQL database in order for WordPress to function properly. Simply click on WAMP server icon in the taskbar and then go to phpMyAdmin. From the top navigation, go to Databases, choose the name for your database and then click create.

mysql-database

5. Configure wp-admin.php

Now you’ll need to edit wp-config-sample.php and change the following:

  • Database Name – from “database_name_here” to “wordpress”
  • User Name – from “username_here” to “root”
  • Password – from “password_here” to “”

After you have edited this file, save it as wp-config.php. Furthermore, you can delete the wp-config-sample.php since there is no need for this file anymore.

wordpress-config

6. Install WordPress

If you have done everything right, type in localhost into your browser and you’ll see a page where you have to type in some details regarding site name, password and so on. Congrats! You have installed a working local web server with WordPress on top of it!

wordpress-success

2 replies
  1. Tom
    Tom says:

    Thanks for such a well collated post. I wanted to play around with some wordpress templates to see if I could put a site together and took me only minutes to set up a local server with this info. Cheers!

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

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>