PHP Development with XAMPP

Larry Ullman wrote a great post about his experience with MAMP. Many years before I heard about MAMP I had been using XAMPP (, it was in fact that a friend told me about the great piece of software he was using called MAMP which was only $39 (at the time, today you have to pay $59 for a new version and $29 for an upgrade). MAMP is able to let my friend have a LAMP stack up and running in no time in his MAC. I asked my friend why would he be paying $39 for MAMP while XAMPP was free! and he had two reasons. One, he could update the vhosts quickly, second he had been using the software for quite a while so he didn’t have to learn a new piece of software. I believe there is a free version but you are not able to edit the vhosts which for what I undrestand is one of the main sell point for many.

My setup for PHP development on MAC and PC is the free XAMPP package. Since I use the MAC 99% of the time I have created an alias in my .bash_script which opens two files in TextMate that allow me to create a vhost rather quickly. Lastly I open the XAMPP control panel, restart Apache, and I am set to go.

here is my .bash_script alias:
alias vhosts=”mate /Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf mate /etc/hosts”

There are other benefits with XAMPP (it may be very similar with MAMP but I have never used it) after you start mySQL from XAMPP control panel you can do all your database administration by visiting http://localhost/phpmyadmin. I have also set up a “dump” alias http://dump.localhost where I can drop any quick php tests without having to create a new virtual host.


2 thoughts on “PHP Development with XAMPP”

  1. Thanks for the reference! In my books, I always recommend XAMPP from Apache Friends for Windows users. I never advocated it for Mac users, or even used myself, because the Mac version doesn’t seem to be much of a priority for them (which, of course, is their prerogative). For years, the Mac version was considered experimental. Although that’s no longer the case, as I write this today, the latest Mac version is a year old.

  2. One more exceptional good thing about making use of PHP regarding creating net program will be in which in case there is virtually any problem or perhaps aid, any designer can easily constantly find the particular support inside the on the web community forum.

Comments are closed.