RE: php 4 & php 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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 ?

Per option 1 below, they were saying two installs of Apache or one install of Apache directed to use different httpd.conf files, then to use different ports for each instance.  The same thing can be accomplished using two IP addresses if available, instead of two different points.


---
Hans Zaunere
President, Founder

New York PHP
http://www.nyphp.org

AMP Technology
Supporting Apache, MySQL and PHP


> > > > 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
> >
> >

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux