In this tutorial you’ll learn how to download, install and set up WAMP server, and WordPress with ease for local development.
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!
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 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.
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.
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.
Using WordPress as a CMS (Content Management System) has also a few major benefits.
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.
WordPress is updated once in a while and it keeps hackers busy.
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.
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.
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”
You will be redirected to SourceForge and the download will start within few seconds.
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.
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
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.
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.
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.
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!