How to install WAMP Server on Windows 10



If you are looking forward to developing application in PHP, first thing you want is to set up a development environment. On Windows, WAMP is a popular choice. Let me show you how to install it on Windows 10 in this blog post.

WAMP is not the only choice you have for windows. You can also choose XAMPP which is also stable and good. For Linux you can try LAMP and for Mac, MAMP. Please don’t waste your time in comparing various alternatives available to you. They are all good. All I can say is that get yourself a development environment quickly and start coding. WAMP is a very good choice and is very stable. Go for it.

XAMPP is another popular choice for setting up PHP development environment in Windows OS. To see how to install XAMPP in Windows 10, Please visit my blog on how to install XAMPP in Winodws 10

Prerequisites: In order to successfully install and run WAMP server make sure that you have VC++ Redistributable installed on your system. Please follow my post and install all the versions of VC++ Redistributable using the link provided in the post at the bottom of the post. This article also tell you why VC++ Redistributable is important and why you should have it to avoid future problems on Windows Platform.

After the installation if you get the error message that some dll files such as msvcr110.dll, msvcr100.dll, msvcp110.dll, msvcp100-dll is missing, make no mistake, it is because Visual C++ Redistributable is missing. I have written a blog on it. Here is the link.

Here are the installation steps.

Step 1- Download Wampserver from the official website

You can download the WAMP installer from the official WAMP server from the WampServer website.

Recently I have seen that there is a lot of downtime of the official website. If the WAMP server official website does not open, you can use this direct link to download the installer from sourceforge.net website.

WampServer website Homepage Screenshot.

WampServer website Homepage Screenshot.

Step 2- Scroll down to the download section of the WampServer Home page.

Based on your system, choose 32 bit or 64 bit version of the installer. I choose 64 bit, PHP 7 version because this is the latest release of PHP.
These screenshot will not be the same as it will change based on the release of the updated version of the WAMP server. Currently the latest WAMP version is 3.1.3 as on Aug 2018.

WampServer Website homepage download section.

WampServer Website homepage download section.

Step 3- Click the appropriate link to download the Installer.

You should see something like this. Click the download directly link to start download. Currently the latest WAMP version is 3.1.3 as on Aug 2018.

WampServer Website homepage download link screenshot.

WampServer Website homepage download link screenshot.

I noticed that there are problems with the sourceforge site as well. The download does not begin automatically. Please use these direct links to download the latest version of WAMP.

Download WAMP 3.1.3 – 64 Bit (Recommended)

Download WAMP 3.1.3 – 32 Bit

Step 4- Locate the downloaded file.

By default it should be in your downloads folder if you have not changed the default settings.

This is the screenshot of the WampServer installation file downloaded from the wampserver official website on windows 10.

This is the screenshot of the WampServer installation file downloaded from the wampserver official website on windows 10.

Step 5- Double click the installer to begin the installation.

You should see something like this.

Screenshot of the security warning on windows 10 when we run the wampserver installation file.

Screenshot of security warning on windows 10 when we run the wampserver installation file.

Click Run to proceed. Now you should see Windows User access control dialog box. Click Yes to continue.

wampserver installation user access control dialog box screenshot

wampserver installation user access control dialog box screenshot

Step 6- The dialog box that appears will now ask you to choose your language for installation.

Select your preferred language from the drop down list and click OK. We will be using English for this demonstration.

WampServer installation select language for installation screenshot

WampServer installation select language for installation screenshot

Step 7- Next dialog box is Welcome to WampServer64 Installation Wizard.

Click OK Next to Continue.

WampServer Installation- Welcome to WampServer Setup Wizard Screenshot.

WampServer Installation- Welcome to WampServer Setup Wizard Screenshot.

Step 8- You should see WampServer Licence agreement dialog box.

Click “I accept the agreement” radio button and next to continue.

WampServer installation Licence agreement Screenshot.

WampServer installation Licence agreement Screenshot.

Step 9- Now you should see an information dialog box.

This informs you about the prerequisites, or the required component that must be present on your windows machine for the WampServer to function correctly. What’s required is the appropriate version of Microsoft VC++ re-distributable package. You can still continue to install WampServer without issues. But after installation when you start the wampserver and get error message complaining about a missing file, please follow my post which tells you about the error and what should be done to resolve it.

WampServer Installation- information dialog box screenshot.

WampServer Installation- information dialog box screenshot.

Step 10- Select the location where you want to install WampServer.

You can accept the default and click next.

WampServer Installation- Select destination folder dialog box.

WampServer Installation- Select destination folder dialog box.

Step 11- Select Startup Menu Folder.

In this dialog box you have to select the folder in which the program shortcuts should be placed. If you select the default, it would be placed in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Wampserver64. This folder content is accessible from the windows start button, all apps in windows 10. If you place in any other folder, the shortcut will not be visible from the start menu.

You can change it to something else but accepting the defaults is perfectly good. The 64 at the end of Wampserver64 is tell you that you will be using the 64 bit version of the application. If you dont see 64, then you will be using the 32 bit version of the application.

WampServer Installation select start menu folder screenshot.

WampServer Installation select start menu folder screenshot.

Step 12- Fianlly you see the Ready to install dialog box.

You can review the details and make the changes by going back by clicking the Back button. Once you click Next, installation begins.

WampServer Installation Ready to Install Dialog box

WampServer Installation Ready to Install Dialog box

Click Next to begin Installation. Now you will see installation begins. Below is the screenshot.

WampServer installation progress screenshot

WampServer installation progress screenshot

Step 13- Select default browser dialog box

Now you should see a dialog box asking you if Internet Explorer should be made the default browser and asks you if you want to change the default browser to something else. Click NO to accept Internet explorer as the default browser.

Wampserver installation choose default browser screenshot

Wampserver installation choose default browser screenshot

If you want to change the default browser to say Google Chrome, click yes and you should see something like this:

WampServer installation choose default browser other than Internet Explorer dialog box screenshot

WampServer installation choose default browser other than Internet explorer dialog box screenshot

In Windows 10, Google Chrome executable is located in C:\Program Files (x86)\Google\Chrome\Application folder by default. Go to this folder and select chrome.exe and click open. If you click cancel, it would again default to Internet Explorer.

Again the choice between Internet Explorer and Chrome or anything else is purely personal and I don’t see any issue in accepting the default and leaving it as Internet explorer.

Step 14- Select default Text Editor

I would suggest you can accept the default, which is notepad by clicking No. Its just that if you want to edit apache or PHP config files such as http.config or php.ini, it would open in notepad. Still if you want to change it you can click Yes and navigate to the executable .exe file of your preferred text editor. But, as I said, the default notepad is perfect.

WampServer Installation choose default text editor dialog box screenshot

WampServer Installation choose default text editor dialog box screenshot

Step 15- phpmyadmin Information dialog box

After the installation is complete, you will see a dialog box informing you that the user name for phpmyadmin is “root” and password is not set, that is there is no password for it. Click Next to continue.

WampServer installation phymyadmin information dialog box screenshot

WampServer installation phymyadmin information dialog box screenshot

Step 16- Installtion Complete

Now you should see installation complete dialog box. Click finish to exit the WampServer installation wizard. WampServer should now be installed on your system.

WampServer Installation complete dialog box

WampServer Installation complete dialog box

Step 17- Start WampServer

You can now start the WampServer by double clicking on the shortcut wampserver icon on your desktop or alternatively launch it from the start menu. After the WamServer starts, you can see the Green icon on the taskbar as shown in the screenshot. Initially it will be Red, then turn amber and then Green. When it turns green, it means all the services are now running. Else, the WampServer has not started. Please note that you will have to give adminsitrative privilages for the Server to start. That is just click Yes when you see UAC confirmation dialog box when you click the Wamserver icon to start the server.

When you right click on the icon, you can see the options to start, stop and restart the WampServer along with other option which I leave for you to explore. If you face any problem, please leave the question as a comment, I will answer them.

WampServer taskbar icon screenshot

WampServer taskbar icon screenshot

WampServer options Screenshot

WampServer options Screenshot

Enter the following URL in the browser.
http://localhost

Now you should see the WAMP Server page.

That’s it, you are done. Thanks for visiting my blog.

Previous Post:

Next Post:

In Category: Web Development




Latest Posts

Underneath a boring IT professional lies a passionate student of computer science. I love computers and this blog is about everyday computer issues that a common man faces. Through this blog I try to reconnect with my long forgotten self.

Show 28 Comments
  • Cruz Wead September 6, 2016, 10:19 am Link Reply

    It’s truly a great and helpful piece of info. I am happy that you shared this helpful information with us. Please keep us informed like this. Thank you for sharing.

  • Rajarshi Manna March 22, 2017, 11:07 pm Link Reply

    Hi ! your post is very helpful.
    I tried to install wamp server ( 32 bit) in my computer with windows 10 but its denied.
    I installed VC++ 2010 sp1 ( x86) before i installed wamp according to your instruction.

    The massage coming like this ” this programme can only be installed on versions of windows designed for the following processor architectures x64

    please help me out.

    Rajarshi Manna
    9732848683

    • Shailesh Jha March 22, 2017, 11:37 pm Link Reply

      Thanks Rajarshi, Please use 32 bit or 64 bit installer based on the architecture of your computer. To check the CPU architecture(64/32 bit) of your system, go to Start Menu->Settings->System->About. There you will see system type. If you see 64 bit, download 64 bit version of WampServer. Also the latest version of Wamp server requires Visual C++ Redistributable for Visual Studio 2012 Update 4 which you can download from here. Download and install both x64 and x86 versions if you have 64 bit processor. If you have 32 bit processor, install x86 version. Since you are using Windows 10, you system should most probably be 64 bit.

      I would recommend installing all the versions for Visual C++ Redistributable to avoid future problems. To do this please follow my post here.

  • Jim May 1, 2017, 11:22 pm Link Reply

    Shailesh , I have the server loaded but it was a little different and didn’t ask about MySQL and php. My problem is now it is installed but on test server 80 and I cant open any pages to my default browser IE. Lastly, I had 4 more problems listed in this forum on the commands not working in cmd dialog. https://www.apachelounge.com/viewtopic.php?p=35290#35290
    I just want to get to web because I don’t have one on my computer.
    Thanks, Jim

  • Jim Valenta May 1, 2017, 11:57 pm Link Reply

    Shailesh , Your link to download is not working above. I downloaded a copy and it installed on another site, but I still cant get a webpage from my default IE. I had four major problems configuring it and listed on this forum under fresh install https://www.apachelounge.com/viewtopic.php?p=35290#35290

  • adrijana July 2, 2017, 3:35 pm Link Reply

    Your info is incomplete. Wamp also requires Visual Studio Redistributable files that don’t come on vanilla Win 10.

    • Shailesh Jha July 2, 2017, 4:42 pm Link Reply

      Thanks Adrijana,

      Thanks for your information. I am not sure if VS Redistributable comes shipped with Win 10. Problem with VS Redistributable is that people don’t realize this issue until they face the problem. If it is not available in vanilla Win 10, I think it should be made available by default. This will safe a lot of trouble.

  • SteveM August 6, 2017, 10:59 pm Link Reply

    This blog was very helpful, thank you for contributing to a newbie’s success! One question, Now that my WAMP server is installed, I assume that PHP is installed and that I can execute PHP programs by typing them in to the notepad in the PHPadmin? If I just want to learn PHP is that the proper way to go about it? In the PHPadmin Docuementation it includes the following:
    •You need PHP 5.5.0 or newer, with session support, the Standard PHP Library (SPL) extension, JSON support, and the mbstring extension.
    •To support uploading of ZIP files, you need the PHP zip extension.
    •You need GD2 support in PHP to display inline thumbnails of JPEGs (“image/jpeg: inline”) with their original aspect ratio.
    •When using the cookie authentication (the default), the openssl extension is strongly suggested.
    •To support upload progress bars, see 2.9 Seeing an upload progress bar.
    •To support XML and Open Document Spreadsheet importing, you need the libxml extension.
    •To support reCAPTCHA on the login page, you need the openssl extension.
    •To support displaying phpMyAdmin’s latest version, you need to enable allow_url_open in your php.ini or to have the curl extension.
    •Performance suggestion: install the ctype extension.
    Where do I locate those extensions and how are they loaded?

  • Gerhard November 14, 2017, 2:04 am Link Reply

    Hi Shailesh, I’ve done everything you suggested and it installed fine. However the icon does not change from amber to green even when refreshed. It says 2 of 3 services running. I did installed the vcredist_x86 and _x64 filed as well.

  • B S February 18, 2018, 6:49 pm Link Reply

    I tried downloading wamp from wampserver website, but wamp for window 10 32 bit is not available. Its only available for 64 bit. Tried xampp den dat gave me some USer acc error and warned not to save file in c: prog file so i saved it in c:xampp . Now when i save file wid php extension in htdocs folder and use local host to run its gvn me “object not found” error . In xampp control panel it says mysql and apache is running fine. Not sure what to do next.
    Localhost/htdocs/test.php didn’t wrk tried localhost/xampp/htdocs/test.php and all d combination. Still same error. Plz help

  • sushmitha March 25, 2018, 5:55 pm Link Reply

    Hello your instructions are helpful but can u tell me once when wampserver is installed next how can i open my server ?

  • Dave March 27, 2018, 12:19 pm Link Reply

    How can I remove mariadb from my wamp server?
    Thanks!

  • zarvisha June 1, 2018, 12:52 am Link Reply

    HELLO SHAILESH SIR !
    I HAD TRIED TO INSTALL WAMPSERVER WITH THE HELP OF YOUR STEPS BUT IT IS NOT INSTALLING. IT IS NOT WORKING AFTER STEP 10. NOW PLEASE TELL ME WHAT I HAD TO DO. PLEASE REPLY AS SOON AS POSSIBLE BECAUSE I HAD TO SUBMIT MY FILE.
    THANK YOUY FOR THE STEPS

  • Sanju Kumari June 9, 2018, 9:38 pm Link Reply

    I did exactly the same while installing the wampserver as mentioned. But I am unable to log in to myphpadmin.
    It gives the error access denied for user ‘root’@’localhost’.
    Please give the solution ……. as soon as possible.

  • Dileep June 28, 2018, 10:07 am Link Reply

    Hi.
    while click on “download direct” i re directed to “https://sourceforge.net/projects/wampserver/files/” page but in the sourceforge website i am getting the below message as “The “/WampServer 3/WampSe..php5.6.25-7.0.10.exe”file could not be found or is not available.Please select another file.” Please advise me.And finally ended up with “Thank you for downloading WampServer “.But actually nothing downloaded in my system.Can you give direct download link to my mail id?

    • Shailesh Jha June 28, 2018, 9:47 pm Link Reply

      There could be some problem with the portal. Try different mirror while downloading. Click on problem downloading and select a new mirror. File should download fine.

  • Miguel Gonzalez July 6, 2018, 8:34 pm Link Reply

    Hello,

    I have a problem with Wamp, after the install in the “Step 17” show me a message under everything “Error c:wamp64 or PHP in PATH”. How Can I solve it? Help me, please.

    Tanks!

    • Shailesh Jha July 6, 2018, 10:12 pm Link Reply

      Looks like there is PATH conflict in the environment variable.

      Open Command prompt as Administrator and enter the command path. You should see some entries related to PHP. Something like C:\Program Files (86)\php\v5.3. You have to remove those entries from path variable.

      To do this in Windows 10, search for environment variable in search bar. You will see Edit the Environment variable option. Click that to open.

      In the System properties dialog box that appears, you will see environment variable at the bottom of the screen. Click on that, under System Variable you should see path, click on path -> edit and remove those entries and click on OK

      Restart your Computer and start wamp server, you should be good to go.

  • Pragyan August 9, 2018, 3:22 pm Link Reply

    Hello,
    I have some problem with step 17, it showing “php-win.exe-system error.The code execution cannot proceed because MSVCR110.dll was not found”.I unable to identify where the problem is ?? can u please help me.

  • Maria Pereira September 14, 2018, 10:38 pm Link Reply

    I installed WAMP following your instructions but when I try open the web page (file:///C:/wamp64/www/index.php) appear the message below. Can you help me to solve, please? Many thanks

    // Arno Esterhuizen // and Romain Bourdon // and Hervé Leclerc // Icons by Mark James // Version 2.5 -> 3.0.0 by Dominique Ottello aka Otomatic // 3.1.2 – verify strip_tags and trim on $_GET and $_POST // // // $server_dir = “../”; require $server_dir.’scripts/config.inc.php’; require $server_dir.’scripts/wampserver.lib.php’; //chemin jusqu’aux fichiers alias $aliasDir = $server_dir.’alias/’; //Fonctionne à condition d’avoir ServerSignature On et ServerTokens Full dans httpd.conf $server_software = $_SERVER[‘SERVER_SOFTWARE’]; $error_content = ”; ………….

    • Shailesh Jha September 17, 2018, 12:09 am Link Reply

      Hi Maria

      It’s php code. You will have to run it through a web server. Make sure that WAMP server is running, then enter http://localhost in your browser. You should see a WAMP server page. If you see that, it means all good.

      Try it and tell me how it goes. You cannot open the file directly in browser by entering the path file:///C:/wamp64/www/index.php

      Result that you see is the php code. When you enter http://localhost you see the actual index.php page parsed by the apache server using php.

  • Pradeep Unni November 25, 2018, 4:08 pm Link Reply

    I installed WAMP Server, however it’s showing 2 out of 3 services running. As you mentioned, right side icon is not green in color. It’s orange. http://localhost in opening in my browser, but I can’t see anything. Please help. Thanks !

  • George Campbell November 30, 2018, 11:38 pm Link Reply

    Something in my setup was using “port 80” so I had to make changes to httpd.conf switch from port 80 to port 8080 & restart.
    Then when you start localhost you have to use localhost:8080

  • paul February 23, 2019, 3:26 am Link Reply

    Great article.

    The prerequisites section is invaluable and often missed out on other sites.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.