You are here: Re: [PHP] php 4 & php 5 « PHP « IT news, forums, messages
Re: [PHP] php 4 & php 5

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация