Windows: XAMPP vs WampServer vs EasyPHP vs alternative
PhpMysqlWindowsApacheWampPhp Problem Overview
There was a similar question asked here three years ago, but I want to open it up further to include all possible Windows/Apache/MySQL/PHP stacks.
Which to do you think is best?
XAMPP seems to be the most popular, but I've read several bad things about it that make me wonder if it's as good as its popularity suggests. For example, I've heard that their default PHP configuration is very insecure (and apparently their admin app can't function without these holes being left open). This isn't terrible for a development situation, obviously, but you may end up relying on something like register_globals
.
I also spotted something else which makes me concerned: The developers recommend that Vista users disable UAC in order to use their software!
For me that's a big red flag. Yes, there are problems with getting something like this running on Vista with UAC enabled, but disabling UAC should never be offered as a solution, especially for newbs (who need UAC more than anyone). It makes me very concerned.
WampServer apparently is easier to switch versions of PHP or Apache, if you need to. But it comes with less features than XAMPP (no FTP server, for example).
EasyPHP is one that I have no experience of, so I can't say, but it's apparently pretty popular, too.
Alternatives? There a ton of other stacks listed on Wikipedia. Do any of these come recommended?
So which do you use, and why do you consider it the best? Did you just stick with the first one you tried?
I imagine most of us just want something quick, light, and up-to-date.
Php Solutions
Solution 1 - Php
I generally install Apache + PHP + MySQL by-hand, not using any package like those you're talking about.
It's a bit more work, yes; but knowing how to install and configure your environment is great -- and useful.
The first time, you'll need maybe half a day or a day to configure those. But, at least, you'll know how to do so.
And the next times, things will be far more easy, and you'll need less time.
Else, you might want to take a look at Zend Server -- which is another package that bundles Apache + PHP + MySQL.
Or, as an alternative, don't use Windows.
If your production servers are running Linux, why not run Linux on your development machine?
And if you don't want to (or cannot) install Linux on your computer, use a Virtual Machine.
Solution 2 - Php
After years of using XAMPP finally I've given up, and started looking for alternatives. XAMPP has not received any updates for quite a while and it kept breaking down once every two weeks.
The one I've just found and I could absolutely recommend is The Uniform Server
It's really frequently updated, has much more emphasis on security and looks like a much more mature project compared to XAMPP.
They have a wiki where they list all the latest versions of packages. As the time of writing, their newest release is only 4 days old!
Versions in Uniform Server as of today:
- Apache 2.4.2
- MySQL 5.5.23-community
- PHP 5.4.1
- phpMyAdmin 3.5.0
Versions in XAMPP as of today:
- Apache 2.2.21
- MySQL 5.5.16
- PHP 5.3.8
- phpMyAdmin 3.4.5
Solution 3 - Php
EasyPHP is very good :
- lightweight & portable : no windows service (like wamp)
- easy to configure (all configuration files in the same folder : httpd.conf, php.ini & my.ini)
- auto restarts apache when you edit httpd.conf
WAMP or UWAMP are good choices if you need to test with multiples versions of PHP and Apache.
But you can also use multiple versions of PHP with EasyPHP (by downloading the PHP version you need on php.net, and loading this version by editing httpd.conf) :
LoadModule php4_module "${path}/php4/php4apache2_2.dll"
Solution 4 - Php
I won't make such a big deal from this question.
It's not like choosing your new wife or car.
I'd never run any of these on a production server, so, to run just some quick tests any of them are equally good.
Solution 5 - Php
I'm using EasyPHP in making my Thesis about Content Management System. So far, this tool is very good and easy to use.