36

What are the major pros/cons that can help in deciding which of the two to choose: WAMP vs XAMPP for running a local testing server for WordPress?

PS: I now see Stack Overflow had a discussion about it.

closed as primarily opinion-based by TheDeadMedic, Howdy_McGee, Mayeenul Islam, Pieter Goosen, s_ha_dum Jun 20 '15 at 15:34

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Difference between stacks is mostly in convenience and interface preferences (internals are same anyway), which is matter of personal tastes. I think this choice is subjective. – Rarst Sep 24 '10 at 7:49
  • How about neither? How about Linux + Apache + MySQL + PHP? Yes, subject to opinion :) – s_ha_dum Jun 20 '15 at 15:33
  • Have you ever considered using a Vagrant box instead? – MikeSchinkel Apr 20 '16 at 6:05
  • here nice discussion - stackoverflow.com/q/8664901/2377343 – T.Todua Dec 8 '16 at 18:19

10 Answers 10

23

Biggest difference - WAMP runs on Windows, XAMPP is multi-platform. Aside from that it's a matter of personal preference. They both provide you with an Apache-MySQL-PHP environment that runs pretty much the same under both systems.

  • 3
    For the record, I've used both ... and they each have their pros and cons. WAMP consumed far more memory than I liked but was pretty stable. XAMPP has an annoing issue working with WP Cron and fopen(), but seems a bit lighter (and I can run it off a USB stick if I want). – EAMann Oct 5 '11 at 16:09
  • AFAIK - XAMPP also have some extensions that are built-in like sendmail . As far as I know WAMP does not . ( also FTP, Mercury, Tomcat for java ..) – krembo99 Mar 12 '14 at 4:31
30
  1. XAMPP is NOT cross-platform. There is XAMPP for Windows, XAMPP for Linux, for Mac and for Solaris, but each pack contains different pieces of software, runs differently with different performance, etc. (cross-platform means that you take the exact same piece of software and it runs the same way on different platforms ... like Azureus used to be: a jar that you could use the same way)

  2. XAMPP for Windows is bloated, big time. You have mail server, FTP server, accelerator, web-dav, SSL out of the box, etc. Do you really need them all? It's not exactly an entry-level package, but in general it makes installation of everything much easier. Beyond that, any customization requires the same effort as for any other pre-made stack. But if you install on your own box, you probably don't need FTP server, do you?

  3. WAMP is lighter (mostly the basics). Everything that's AMP is there, beyond that you have a couple of tools, phpMyAdmin, SQLite, and xdebug. Do you need SSL? You have to configure it. You want access to mail server? Must install it yourself. FTP? Ditto.

  4. WAMP (like the name says) runs only on Windows (either 64/32-bit).

For a local machine on Windows, WAMP is the way to go. Light, smooth and post-install configuration takes a click. XAMPP for Windows isn't much of a competitor due to issues on 64-bit installation (naturally: more bloatware to install, and you need to manage each piece of extra software between 32/64-bit).

7

WAMP is an acronym that means: Windows, Apache, MySQL, and PHP.

There are different WAMP "distributions", such as XAMPP, WampServer (what some people just call "WAMP"), Wamp-Developer Pro (commercial software), and others...

XAMPP for Windows is just another WAMP distribution, nothing more (nor something else).

  • This is very misleading. While that is what "WAMP" may mean in the broadest possible sense, when someone asks about a comparison between WAMP and XAMPP, they are obviously talking about this: wampserver.com/en – Okonomiyaki3000 May 1 '18 at 1:25
  • @Okonomiyaki3000 The answer was given almost 7 years ago. There were about 10+ "WAMP" distributions at that time (it was about 20+; but some were minor distros). However, the acronym WAMP has been "Windows / Apache / MySQL / PHP" since about 2003. Most people seem to think WAMP is 1 distribution of Apache + MyQL + PHP on Windows. It is not. You could make your own WAMP installation. But I understand what you are saying and these days it might be that. – rightstuff May 1 '18 at 3:30
3

The objection that XAMPP is bloated--because it has a mail server, FTP server, etc.--might be answered by asking what you need. If you need most or all of those items, it's the full XAMPP for you. For just developing web pages, including PHP and MySQL, use XAMPP Lite. At different times I've found both to be very useful. I especially like that I can run either on a USB flash drive.

Now if I could add Netbeans to that flash drive...

2

I've used XAMPP and have been generally pleased with it, with one notable exception. Loading a site has always been agonizingly slow for me when using XAMPP. I don't know if that's the case with WAMP, but it would be worth looking into.

2

Not exactly answering the question, but if you are interested in learning how the packages work together, I suggest installing and configuring them manually. I've been using this tutorial as a guideline, it is detailed and helps you get everything running and talking to each other. It's a bit more work, but provides you much more flexibility, and you actually learn the important configuration involved.

2

I'd like to add an advantage of WAMP that is not listed.

With WAMP you can install extensions* that allow you to easily switch between different versions of php. Since WordPress's minimum requirement is php 5.2.4 and guarantees it will run on a server using it, to be truly compatible with WordPress a plugin needs to run under that version of php. There are a lot of features in php 5.3+ that are not in 5.2.4, such as namespacing.

If you are a WordPress developer and want your plugin, widget or theme to be fully compatible and run on any WordPress install, it is helpful to have an environment setup with php 5.2.4. XAMPP doesn't offer an easy way to do that.

* Should be noted that the newer version of WAMP Server no longer supports extensions; however, WAMP Server 2.2 (32-bit) is available on SourceForge and supports them. It also has the correct version of Apache for installing php 5.2.4.

2

WAMP uses more memory to run than XAMPP.

1

xampp is slower than wamp(french developer). I have both.

1

Implementing SSL in WAMP, I found more troublesome (I finally could not handle it and gave up) whereas it was extremely easy in XAMPP.

The rest I suppose there is no difference for as I use both a Linux and a Windows platform and am comfortable. Of course I have been using XAMPP for a much longer period of time.

Not the answer you're looking for? Browse other questions tagged or ask your own question.