I read that you can have both php5 and php4 in the same instance.  You assign 
php4 or php5 as the one processed by mod_php, then assign the other as a 
fastcgi handler. This means you'll have to distinguish them via extensions, 
like .php and/or .php5 for php5 and .php4 for php 4

--- mike t.

----- Original Message ----
From: John Peter Loh <[EMAIL PROTECTED]>
To: Philippine Linux Users' Group (PLUG) Technical Discussion List 
<plug@lists.linux.org.ph>
Sent: Wednesday, July 11, 2007 3:13:41 PM
Subject: Re: [plug] installing PHP 4 and Php 5 in one server

You can with two instances of Apache running, each having their own port.

All you have to do is have two copies of httpd.conf for each version
of PHP. Then start Apache with a different configuration file:
apachectl -k stop && apachectl -f /path/to/httpd_for_php4.conf -k
start && apachectl -f /path/to/httpd_for_php5.conf -k start

Regards,
JP Loh

On 7/11/07, Mike A. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is anyone have an experience in installing PHP 4 and PHP 5 in an RHEL 4
> server? I know this is possible but I can't find any resources or websites
> in the web. All I can see is an upgrade from PHP 4 to PHP 5.
>
> RHEL 4 have PHP 4 installed but because of new features that PHP 5 have, I
> want to install this also side by side with PHP 4. If anyone already done
> this, please point me to the right direction :)
>
> Thanks!
>
> Mike
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph




_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to