Installing WAMP on Windows Server 2012

Windows Server 2012 has several different installation types (the minimal “Server Core”, “Minimal Server Interface”, “Server with a GUI”, “Full”), and different options/features to select from.

Some features are required to run WAMP, while others have to be removed.

To be able to install and run Apache, MySQL, and PHP (i.e., WAMP) on Windows Server 2012, these are the minimal options/roles/features:

  • Server with a GUI
  • User Interface and Infrastructure, with at least “Graphical Management Tools and Infrastructure” and “Server Graphical Shell”
  • WoW64 Support
  • .NET Framework 4.0 or 4.5
  • * If WAMP will not run with one of the above .NET versions, then .NET Framework 3.5 SP1 (check Enable .NET Framework 3.5 and google: windows server 2012 .net 3.5 install)
  • Windows PowerShell (optional)

* .NET 3.5 is not absolutely required, as most .NET 3.5 applications can be run under .NET 4.5 (i.e., the Windows Server 2012 default .NET verison).

If you have installed “Server Core”, you will need to switch/convert it to “Server with a GUI” (which can be done with a number of commands).

It is best to not have additional Roles installed, such as: “Web Server (IIS)”. As these Roles and Features will have Services and processes that take port 80 and 443, which Apache needs to run (check Disable Services that Interfere with Apache).

You will also need to install the “C++ Re-distributable for Visual Studio 2012″ which contains the DLLs that Apache and PHP are compiled against (check Required Microsoft VC++ Redistributable Packages).

7 thoughts on “Installing WAMP on Windows Server 2012”

  1. If you have a control panel installed on the server, you’ll usually need to uninstall it before proceeding with installing WAMP.

    For control panels such as Plesk, Cpanel, Zpanel, etc, it is not usually possible to integrate them with WAMP, nor run them side-by-side with WAMP… As control panels use and manage (and can only work with) their own integrated web-server platforms – that will conflict with WAMP.

  2. Hi,
    I have windws server 2012 R2 , the apache tourn on with SVN.
    I want to install wamp jsute for localhost used.
    I want to know that is recomended or not to install Wamp with apache (that yet instaled) ?
    thanks

    1. WAMP comes with Apache, but you can stop it when you want to use your other Apache instance.

      Though upon installation of WAMP, it might remove the other Apache Service – but you can reinstall that Service back with one command.

  3. I have a question and I hope you could reply me as soon as possible because I need this for my capstone project in school(it’s a final project for my last semester). Can you provide steps on how I could put online my website using the Apache in Wamp Server installed in Windows Server 2012 R2 operating system. I was trying to figure it out but I couldn’t access my website using other device, I hope you could help me since I have only 4 weeks to work on this. Please and thank you!

        1. > Where I should update the DNS Records, I mean which file or application should I do that.

          To set/update your domain name’s DNS records, you would go to your Registrar’s website (the company you registered/bought the domain name through – like Namecheap), log into your account, and use their DNS control panel.

          > Same goes for the assigning Domain Name or IP Address to Website.

          As above, you would assign an IP address in the global DNS system… So when someone types your domain name into their Browser, the DNS system is able to return the IP address, and the Browser can then connect on that IP address to reach your server.

          And locally, to tell Apache to respond on that incoming request, you would create a website using WampDeveloper’s Websites Tab by clicking “Add New Website”, inputting the domain name into the Primary Domain Name field (www.example.com), any aliases into the Domain Aliases field (example.com, example.net, www.example.net), and if this is the only website you are planning to run on this IP address also inputting the IP address into the Domain Aliases field (111.111.111.111).

Leave a Reply to Maro Cancel reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>