|
Posted by Mbneto on 03/14/05 02:18
Hi Hans,
Do you mean by using virtual host directives of apache ?
But how about the configuration to make requests for certain
directories to be handled by php4 or php5.
For ex.
/var/www/html/site needs php5 but /var/www/html/legacy does not
support php5 so I have to run php4.
Any tips regarding the configuration of php and/or apache ?
- thks
On Fri, 4 Mar 2005 18:13:13 -0500, Hans Zaunere <lists@zaunere.com> wrote:
>
>
> > > Is there a way to install two version of php on the same machine, and
> > > use them for two different users?
> >
> > Option 1:
> > Install two copies of Apache, with different httpd.conf files, on two
> > different ports.
> > Somebody gets stuck using http://example.com:81 (or any port but 80) but
> > this gives everything you asked for.
>
> Or make Apache listen on two IPs - if your provider will do this, or it's your own box, there's not downside. You could use two domains, or two different subdomains.
>
> > Option 4:
> > In terms of expenses/headaches, you will probably be better off just
> > buying a second machine. Problem solved.
>
> If you get another machine, you'll need two domains or subdomains anyway. Just put them on the same box, with two IPs.
>
> ---
> Hans Zaunere
> President, Founder
>
> New York PHP
> http://www.nyphp.org
>
> AMP Technology
> Supporting Apache, MySQL and PHP
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
[Back to original message]
|