If you are completely new to the use of local servers and want to start somewhere, you are at the right place. This is a complete guide to WAMP WordPress installation. The guide is divided into two portions for the ease of the readers and to compile as much information, on how to install WordPress locally on WAMP, as possible. WAMP & WordPress combination has been used extensively for quite some time now and has now become quite an ordinary practice. The advantages of using a local server, like WAMP for WordPress, are one of the many reasons for the exponential growth in its use.
The articles will be covering how to install WAMP Server, How to install WordPress locally on WAMP, a WAMP Server tutorial, advantages of WordPress on WAMP Server, along with some tips and tricks to help resolve some of the most commonly arising issues while installing WAMP for WordPress.
This Install WordPress Locally using WampServer (WAMP) tutorial is split up into two parts:
- Installing WampServer on our local computer (This article)
- Installing WordPress on Wamp Server on your local computer
Scope of 1st part of the Guide
In this post, we will install the software environment that WordPress needs to run (server, Apache, MySQL, and PHP). In the second part, we will actually discuss how to set up WordPress on the WAMP server.
This part of the article will be dealing with all the necessary information for the initial aspects of using WordPress on WAMP Server. For instance, I will be highlighting the importance of using a local server, and, will then move on towards talking about the WAMP for WordPress in particular. A little background knowledge and a basic introduction of the WAMP Server will also be provided to set up the base.
A bit of background for beginners
Before officially beginning the WAMP Server tutorial, here is a little background on WordPress and WAMP Server. WordPress was built to be run on an online server, not on a pc. And To install locally WordPress on WAMP Server, we first need to create a server environment on our computer. Luckily, this is very easy.
WordPress needs Apache (or any other HTTP Server), MySQL, and PHP to run. This is a pretty standard configuration for servers. On Linux servers, this environment is often called a LAMP-stack (Linux Apache MySQL PHP). On Windows, it’s called WAMP, and on Mac, MAMP.
Several companies and organizations have created WAMP stacks. XAMPP, EasyPHP, and WampServer are among the most used. For a full comparison, have a look at this Wikipedia article.
In this tutorial, we’ll install WampServer on a laptop computer running Windows 7. But since we’re in the Windows 10 era, I will start with some uses of the WAMP Server and some tips that you need to follow to run your WAMP server, and Install WordPress on the WAMP server on Windows 10.
Uses of the WAMP Server
Although I have initially mentioned at the very start, the benefits of using a local server like WAMP. However, to clear any ambiguity that is left in the uses of the WAMP Server, this portion will be enough!
WAMP is a combination of Windows, Apache, MySQL database, and PHP. It helps to create a web development environment locally on your PC for hosting websites on it. It works as a testing server so that you can check what your website will look like or how it would work, from back-end perspectives as well.
Each component has its own task and accounts for its presence in the WAMP.
- The “W” is for highlighting the fact that the WAMP Server is for Windows operating system.
- The “A” is for the Apache server that serves the requested website by granting the request over HTTP.
- The “M” is for MySQL database that can be used to store all the relevant information relating to the website and its contents.
- Lastly, the “P” stands for PHP programming language used to write WordPress. It glues the whole software together, responsible for the communication with MySQL.
Download WAMP Server
In order to begin with the WAMP Server tutorial, head over to the download section on the WAMP Server website. The WAMP Server website always has the latest WAMP version.
Choose the right version to download based on the following criteria:
- WampServer has versions for Windows 32 bits and Windows 64 bits. Read this article if you´re not sure which version of Windows you’re running. Choose the corresponding version of WampServer. Or choose the above-mentioned method to find out your Windows version.
- Choose the PHP version you wish to install. Before putting WordPress on the WAMP server, check if the latest requirements of WP are compatible with your server. You can easily check the updated requirements by clicking on the provided link: (check here). Ideally, you’d use the same version as your live website is using.
- If you want to install and test an older version of WordPress on the WAMP server, or maybe you want to Install the WAMP server on an older version of Windows. Then I recommend downloading older WAMP versions from the provided Sourceforge link on the website.
Download the version you want to install.
Note: In the pop-up dialog box, WampServer will notify you of any additional software that you need to install, like Visual C++. As we have mentioned before please make sure to install these packages first before proceeding.
After successfully downloading from the WAMP Server Website, double-click the icon and walk through the simple setup wizard. In most cases the default settings are fine. Also, note that you can always change these settings later. I usually only change the default browser from Internet Explorer to Firefox or Chrome. Here´s a list of all steps:
- Accept the license agreement
- Select a location where you want to install WAMP
- Check the boxes if you want to add shortcuts
- Click the Install button
- Select your default browser. Common locations:
- Internet Explorer:
C:/Program Files/Internet Explorer/iexplore.exe
C:/Program Files/Mozilla Firefox/firefox.exe
- Google Chrome:
C:/Documents and Settings/username/Local Settings/Application Data/Google/Chrome/Application/chrome.exe
- Internet Explorer:
- Set the PHP mail parameters
The installation usually takes less than a minute.
If you see the following error message during the install: MSVCR100.dll was not found make sure you’ve installed Microsoft Visual C++ 2010 Redistributable Package.
Running your WampServer for the first time
Once installed, the next step is to learn how to use WAMP. Go to Start > All Programs > WampServer and click Start WampServer. For Windows 10, open WampServer from the desktop or search in the start menu, if you cannot see it on the Desktop
If everything went well, you´ll now see a small green icon in the lower right corner of your screen. This means all services are up and running.
The how to install WordPress on a website is discussed in the 2nd part of this guide!
If you see an orange or red icon, WampServer has not been able to start all services.
A common problem is that the port WampServer uses is already in use by another program. Skype, in most cases. If you have Skype installed on your computer, make sure it does not use port 80:
- Open Skype
- Go to Tools > Options
- Select the Advanced tab and then the submenu Connection
- Untick the box that says Use port 80 and 443 as alternatives for incoming connections
- Restart Skype
As soon as the light is green, open your browser and navigate to
http://localhost. (An alternative way to do this is by clicking your left mouse button on the WampServer icon and selecting the Localhost shortcut on top.) This should take you to the WampServer home screen.
Issues of the WAMP Server
Although installing and setting up the WAMP Server is not a very difficult and complicated process, there might come times when you encounter an error or a problem. These issues are quite common in nature and therefore, their solutions are easy to find and implement.
For your ease, I have compiled here a list of the most common issues that come up when installing the WAMP Server. Along with these issues, the solutions of them are provided.
Disadvantages of Using the WAMP Server
AS already stated in the scope of this very article, there are many other local servers other than the WAMP Server. Each one has its set of benefits and issues and hence, so is the case with the WAMP Server. While going through the article, it can be concluded that the whole procedure of downloading and installing the WAMP Server is not so complicated. However, there are some disadvantages to using the WAMP Server instead of the others.
A few of the disadvantages are listed here.
- One of the main disadvantages is that the WAMP is specified to only Windows Operating System. While there are many others that offer services for multiple operating systems, given the same environment and specifications.
- WAMP has very basic features of a local server. Those are present in nearly all the other local servers. So if you are looking for extra features in a local server, you might not want to go with the WAMP Server.