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

Reply via email to