How to get WampServer to work on Windows 10

So you recently upgraded or bought a Windows 10 PC. Just to find out that you can’t get a WampServer running and get back to work on your web project locally. But for those who have no idea what I’m talking about WAMP stands for Windows Apache MySQL PHP. Essentially, it’s of the many available Web stacks you could use a solution to your web development.

Putting it in plain English it’s a software bundle for your Windows Web server. Most often the case, you’ll be using Wamp for local development of your web apps or websites to be then moved your online hosted site usually running a LAMP stack. Without any further a due or rambling into technicalities. Here’s the solution to getting Your WampServer running on Windows 10.

First step downloading WampServer program if you haven’t already done so here are the links to the stuff you’ll need to get started:

Wamp not running properly on Windows 10

Once you have everything installed, try running your WampServer as administrator if you notice that the Wamp icon in the system tray is stuck on either Yellow or Red state. If you got any of the following error messages "missing VCRUNTIME140.dll and/or MSVCR110.dll" during installation or upon starting WampServer. That's confirming that there is an issue with your C++ Visual Studio redistributable 2012 and 2015. Ensure that you have installed both 32-bit(x86) and 64-bit(x64)versions if you're on 64 bit OS and only x86 version for 32-bit OS respectively.To ease some of the the guess work of which is missing, MSVCR110.dll has something do with 2012 Visual Studio C++ Redistributable 32-bit(x86), and VCRUNTIME140.dll is one or both version of 2015 C++ Visual Studio Redistributable.

Wamp error missing VCRUNTIME140.dllWamp error missing VCRUNTIME110.dllWindows 10 Wamp error messages

Afterwards run Wamp as administrator.

installing WAMP Service

Then head over to Wamp icon the system tray icons and open up the menu, select Apache, Service administration, Finally select Install Service.

WAMP command prompt successfully installed messageWAMP command prompt unsuccessful installed error messageWAMP command prompt messages: left(Success) Right(error)

A black command prompt window will appear, simply hit enter and let it run once finished it will close on its own.Otherwise if you got an error instead stating that Windows IIS is using port 80, you would have to disable Windows IIS services or change the port for WampServer Apache httpd.conf to 8080.

But for simplicity we'll disable Windows IIS service. You can do this by heading over to "Turn off Windows features on or off" in control panel under programs and features on the left side. if you're using Windows 10 tablet style touch controls you can get their by going into settings in windows start menu, then System, Apps & features, scroll to the very bottom and hit Programs and features.Bringing up a window and on the left side is "Turn off Windows features on or off".

Windows 10 Features IIS option windows

Once in Windows Features option window, You'll want to look for Internet Information Services. Expand folder and deselect World Wide Web Services, hit OK and let it save changes. Then try installing WampServer Apahce service again in previous step.

Starting WAMP apache

Afterwards head over to Wamp ion the system tray icons and open up the menu, select Apache, Service administration, this time select Start/Resume Service. If successful the WAMP icon in system tray will be green instead yellow/red. Now you go to localhost to load up the apache page and begin web development on you Windows 10 computer.

WampServer localhost startup PageYou've successfully installed Wamp if you get this when you startup your localhost

Tags:Apache, Microsoft windows, MYSQL, PHP, tech fixes, WAMP, web, Web Tutorial
Share:

13 Comments

  • imatrblogJackkut
    imatrblogJackkut 6 months ago said:

    Jason, thanks for the guide. Installation of visual components complete for 64 bit OS as per your guide, however, when I load wamp (tried 4 times – deleted /wamp files and reloaded) i get “msvcp120.dll was not found. Reinstalling the program may fix problem. ” Also get msvcr120.dll error.

    Any help would be appreciated. Thanks

    Reply
    • JasonDarkX2
      JasonDarkX2 6 months ago said:

      Hi, as I’m unable to replicate your exact issue on my end. When there is a MSVCP .dll missing for an applications it’s usually correlated to Microsoft C++ redistribution. Have you installed both the 64 bit and x86(32 bit) Visual C++ Redistributable for Visual Studio 2015? Otherwise might have to install an earlier version as well.
      Link to 2013 redistribution:
      https://www.microsoft.com/en-us/download/details.aspx?id=40784

      Reply
  • Luminous
    Luminous 1 year ago said:

    Hello Mr jason, got this error while using your tutorial : your port is actually used by : server: Apache/2.4.27 / (win64) PHP /5.6.31
    can not install the apache service plz stop the application and try again.

    i noticed someone already asked you this question and you said it will be fine since that’s the apache version that came with the installation.

    i want to know if the wamp server since its icon is not showing blue if really it is working fine and the color does not really matter, because the wamp server installed in my windows 10 computer says that only two services are working….

    Reply
    • JasonDarkX2
      JasonDarkX2 1 year ago said:

      Well if it says your port 80 is used by Apache and PHP. When you tried to install the services, it means they are already installed and running no need to do the install service step. You’ll only need to do that step if you are getting a red or yellow WAMP icon informing you that 1 or none of the services are running.

      In order to get WAMP running correctly you need All services running and Green Icon. To check if your WAMP server is running you could simply go to localhost on your web browser and it should show the WAMP server page like the one shown in the tutorial. Otherwise it would show a 404 or can’t find page error if your WAMP server isn’t running.

      Reply
  • valar
    valar 1 year ago said:

    whoa I got wamp server in 1 step. Actually I was struggling without installing v c + + . Thanks Jason

    Reply
  • Jonathan José Vega Vargas
    Jonathan José Vega Vargas 1 year ago said:

    Excelent , Thank!!

    Reply
  • Aleksandar
    Aleksandar 2 years ago said:

    You are saying that “Visual Studio 2012 VC 11 vcredist_x64/86 (Download and install both x86 and x64 version if you’re on a 64-bit windows OS)
    Visual C++ Redistributable for Visual Studio 2015(Download and install both x86 and x64 version if you’re on a 64-bit windows OS)” needs to be installed prior to commencing with WampServer installation, right? And what about installing Microsoft Visual C/C++ Redistributable 2013 (VC13) (both versions as well)? Is it needed? Thanks in advance for your reply!

    Reply
    • JasonDarkX2
      JasonDarkX2 2 years ago said:

      Nope,you don’t really need Microsoft Visual C/C++ Redistributable 2013 (VC13) because an updated version is included in the Visual C++ Redistributable for Visual Studio 2015. Unless what you’re developing needs VC2013 for compatibility reasons. But for WampServer all you need is the 2012 and 2015 one to resolve the errors and problems on Windows 7 and/or Windows 10.

      Reply
      • Aleksandar
        Aleksandar 2 years ago said:

        Thanks, Jason! The WAMP tray icon turned green.
        Just one more opinion of yours that I need. I have run WAMP as an admin and here is the message Command Prompt gave after trying to install Apache service following your instructions:
        ” Your port 80 is actually used by:
        Server: Apache/2.4.23 (Win 64) PHP/5.6.25
        Cannot install the Apache service, please stop this application and try again.
        Press Enter to exit… ”
        However, I think it is fine because that is Apache version that came with a 64-bit WAMP installation and I have disabled IIS before commencing installation. I would greatly appreciate an assurance from your side over this matter.
        Thanks in advance!

        Reply
        • JasonDarkX2
          JasonDarkX2 2 years ago said:

          Yes, the general assumption be one would be required to install the missing Apache service in order to properly run wamp Apache server. But if you get a prompt like that port 80 is already used by Apache, you could pretty much skip that step entirely, as everything should be fine at that point.

          Reply
        • Jayna
          Jayna 2 years ago said:

          I’m imrpessed you should think of something like that

          Reply
  • Nate Gate
    Nate Gate 2 years ago said:

    Flawless tutorial, got my wamp server working on windows 10 laptop.

    Reply
  • Simon Crawfford
    Simon Crawfford 2 years ago said:

    I’ve spent hours trying to figure out wtf was up with Wamp on Windows 10. Who knew it would be that simple, Thanks for the guide.

    Reply

Leave a Reply

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