Today, I am going to show you how to install wamp server for WordPress where you can run your WordPress locally.
You can install WordPress even though if you don’t have a domain name and hosting. This can be done by installing a local webserver in your pc or laptop and can install WordPress in it. A local webserver is also called as localhost and can be accessed in your browser as http://localhost/ or http://127.0.0.1
Many WordPress theme and plugin developers use local webserver for their testing purposes. If you want to try WordPress or its features then localhost is the best bet for you.
But with localhost, other people cannot access your wordpress site installed in localhost. The only people who can see your site is you. Since, it is a localhost, it only resides in your computer and can be accessed by you. To set up a localost, you need to install webserver softwares like wamp, xampp and many more.
Wamp and xampp applications comes with the following installations
- And some other applications like phpmyadmin, ftp, perl etc.
For WordPress to run, it requires Apache, Php and mysql which the above xampp and wamp applications have.
Normally, you can install all these above mentioned applications separately to launch your localhost. You can directly download apache server, php and mysql and install separately in your computer and integrate them together to work properly.
Apache is a web server which serves webpages only html pages, and in order for apache to serve php pages, it needs to be integrated with php library.
And a mysql server is a database server which enables you to create databases.
All these can be installed separately, but wamp makes it easy by combining all these in a single application. For newbies, a wamp server is recommended as it is easy to install and use it.
Follow the below guide to install wamp server for installing your wordpress
Type wamp in Google search as shown in the below
And you can see the search results with wampserver.com
Step 2: Click on the Google result with wampserver.com and you will be taken to their wamp’s official site.
Step 3: Click on Download link at the top of the webpage.
Step 4: Now, you will be taken to the download page where you will be asked to choose which type of processer is yours.
Follow the steps:
Click on Start
Right Click on My Computer and Click on Properties
If you can see x64 under system, your computer can run 64Bit applications and you can download 64 Bit WampServer. If you see x86, then your computer is capable of running 32 Bit only, in that case, you need to download Wampserver 32Bit.
Since, the computer I am showing you this demo is 64 Bit I am downloading 64 Bit version.
Step 5: Download your suitable version of wamp
Step 6: Now click on download directly link as shown in the above screenshot.
You will be taken to an external trusted site sourceforge.net when you clicked on download directly link. It will automatically downloads the wamp software to your computer, if not , click on the direct link as shown in the above.
Step 8: After you have downloaded, you can see the downloaded file with the following name, though the version numbers might change as they keep on releasing new updates frequently.
Now open the downloaded file and install it. Follow the below steps to install it.
Click on Next to continue the installation
Accept the License agreement for WampServer
Choose the path where you want to install your wamp server.
If you want to have Quick Launch icon and Desktop icon, check them and click on Next.
Now Click on Install to install it.
After it has installed, it will ask you for the path of web browser. You need to show the path for your internet explorer or Mozilla Firefox or Google Chrome.
In this demo, I am showing the path for Google Chrome
Normally, Google Chrome is located in the following location:
Local Disk (C) > Program Files > Google > Chome > Application
If you have a Windows Firewall, it will ask you to grant access to newly installed Wamp Server.
In the next step, it will ask you to setup mail parameters, which you don’t need right now, so use the default values to keep going.
Now, click on Finish as you are you about to finish the installation of wamp server.
Now, you can see a new icon appearing under your tray icons in your desktop.
Click on the icon which is wamp server’s icon to access its menu.
Click on Localhost to access your localhost site.
You should be able to see the above screen if everything is installed properly.
But, sometimes, if you are running Skype , you will get problems installing a wamp server. Even though if you think you have installed everything properly, you will still see a blank page like the below.
That means your wamp’s default port which is 80 is being used by another application. You either disable that application from being running or change your port.
For me, my skype is using the port 80, so, I am changing the default port for webserver which is 80 to 801.
Follow the guide below to change your port if you are experiencing the same problem.
Go to your wamp’s installation directory. In my case, it is
Local Disk (C) > Wamp
Now, you need to go to apache’s conf director in order to change the port.
So, this is the directory which I need to go
Local Disk (C) > Wamp > bin > apache > apache2.4.9 > conf
Edit the file httpd.conf file as shown in the above with wordpad .
Now, you can see the httpd.conf file.
Search for the string “listen” using Ctrl+F in your keyboard.
And you can see the above line of code.
Now change the above lines to the following one
And click on Save to save the configuration file.
Now, Restart your web server as shown in the below.
After, you clicked on Restart All Services, your web server will restarts its services.
Now finally, if you refresh the same old localhost webpage. You can able to see its default page.
You can also access your localhost at the following address
Replace 801 with your post which was set in your configuration file.
You can set any port number in your configuration file, since I set, 801 as my port address, I am using it now.
Now, you have successfully installed your webserver. Now, I am going to show you how to install wordpress in it.
Go to http://wordpress.org to download a copy of wordpress files.
Click on Download WordPress to download your wordpress files.
Now, you will be taken to its download page where you will be again asked to click on Download WordPress
Click on it to download the files.
You can see a zip folder being downloaded which contains WordPress installation files.
Now, after you have downloaded the file, open it with winrar or winzip. You will be able to see a folder with name wordpress in that zip file.
Now extract the folder wordpress to wamp directory to install it.
Extract the folder to the following path
If you have installed wamp in some other directory it should be extracted to the following path
Your wamp directory/www
Click ok to extract to the desired location.
After you have extracted the folder to www directory, click refresh on your localhost default page.
You can able to see the new folder wordpress will be appearing in that page.
In the next blog post, I will be writing a detailed guide on how to finish installing wordpress in your localhost.