Re: multiple httpd servers

From: Date: Wed, 24 May 2000 07:44:02 +0000
Subject: Re: multiple httpd servers
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-409@lists.php.net to get a copy of this message
Hi, it's possible to compile both PHP3 and PHP4 into the same Apache binary using --enable-versioning configure flag, read more about it in the Install file in the PHP4 source distribution (it's at the very end of the file). Then just setup two name-based virtual hosts (Apache docs are quite clear on how to do that) and you're up and running. I don't see that much point in having two separate apaches with separate configuration files as the configuration directives don't interfere between versions and you can configure almost everything in the <VirtualHost> context. Cheers Pavel ----- Original Message ----- From: "Kevin Beckford" <kbeckford@bigorbit.com> To: "GPHP" <php-general@lists.php.net> Sent: Tuesday, May 23, 2000 10:01 PM Subject: Re: [PHP-GENERAL] multiple httpd servers > > > > Your probably after virtual hosting. From Apache Doc: > Nope - I want at least 2 separate instances of httpd running on the same box, > each with their own, separate configuration and httpd.conf file. I'll probably > be mirroring our existing apache/php combo on the one server, and testing it > against the php4/apache combo on the other server. I'd love to use the same > port so I could have this scenario: > www.foo.com/test.php3 - handled by webserver #1 > www.foo2.com/test.php - handled by webserver #2 > > I believe that I could do it like this: > www.foo.com/test.php3 - handled by webserver #1 > www.foo2.com/test.php:8080 - handled by webserver #2 > > but I would like to make the requests transparent to the user > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#409) next »