RE: [PHP] php 4 & php 5
| From: | Hans Zaunere | Date: | Fri, 04 Mar 2005 23:13:13 +0000 |
| Subject: | RE: [PHP] php 4 & php 5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210054@lists.php.net to get a copy of this message | ||
> > 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