开发者

Best way to install multiple versions of Apache, PHP and MySQL on a single FreeBSD host [closed]

As it currently stands, this question is not a good fit for our Q&开发者_如何学运维;A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I want a test- and development-environment for web using Apache, PHP and MySQL. I need to be able to test a single web-application with multiple versions of PHP (5.2, 5.3, etc) and multiple versions of MySQL (5.0, 5.1, 5.5, etc). It shall be hosted on a FreeBSD server.

My idea is to compile each version into a directory structure and running them on separate portnumbers. For example:

opt/apache2.2-php5.2-mysql-5.0 
(httpd on port 8801, mysql on port 8802)
(directory contains each software, compiled and linked towards eachother)

opt/apache2.2-php5.3-mysql-5.1 
(httpd on port 8803, mysql on port 8804)
(and so on)

Any thoughts or suggestions of the best way to setup this type of environment?

UPDATE: Question moved to serverfault: https://serverfault.com/questions/145504/best-way-to-install-multiple-versions-of-apache-php-and-mysql-on-a-single-freebs


Try Wamp Server( this is what I am using)

http://www.wampserver.com/en/download.php

or Xampp

http://www.apachefriends.org/en/xampp-windows.html


The best way to do this is to use FreeBSD's jail facility. See the /usr/ports/sysutils/ezjail port to make this quick and easy to get multiple jails going. Inside each jail, just install whatever ports you like, and test that way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜