I would like an evaluation- and development-atmosphere for web using Apache, PHP and MySQL. I have to have the ability to test just one web-application with multiple versions of PHP (5.2, 5.3, etc) and multiple versions of MySQL (5., 5.1, 5.5, etc). It will be located on the FreeBSD server.
My idea would be to compile each version right into a directory structure and running them on separate portnumbers. For instance:
opt/apache2.2-php5.2-mysql-5. (httpd on port 8801, mysql on port 8802) (directory consists of each software, put together and linked towards eachother) opt/apache2.2-php5.3-mysql-5.1 (httpd on port 8803, mysql on port 8804) (and so forth)
Any ideas or suggestions of the easiest method to setup this kind of atmosphere?
UPDATE: Question gone to live in serverfault: http://serverfault.com/questions/145504/best-way-to-install-multiple-versions-of-apache-php-and-mysql-on-a-single-freebs
Try Wamp Server( this is exactly what I'm using)
The easiest method to do that is by using FreeBSD's jail facility. Begin to see the /usr/ports/sysutils/ezjail port to create this fast and simple to obtain multiple jails going. Inside each jail, just install whatever ports you want, and test this way.