I've used XAMPP for local web development for a number of years, but I'm becoming increasingly frustrated with its limitations and would like to switch to a different solution.
What I'm looking for is something that will easily allow me to switch between different versions of PHP. The plan I've got in mind at the moment is to set up a local version of Ubuntu via Parallels (I seem to remember that I'll only need the Desktop edition of Ubuntu and not the Server addition to do what I want to do) and then to use this to provide a web server to the Mac OS X host that will be available at http://localhost/
.
I suppose the ideal solution would enable me to have multiple web servers running from the same Ubuntu virtual machine, so that http://localhost-529/
was a web server running php 5.2.9, http://localhost-531/
was a web server running PHP 5.3.1, etc.
Is this possible? And is the idea I've outline the way to proceed, or is there a better way to get this setup working?