[CentOS] running php4 and php5 parallel

umair shakil umairshakeel at gmail.com
Fri Sep 21 05:03:31 UTC 2007


Hi,

Let us suppose, you have PHP4 RPM installation, PHP5 source installation.
you type "php -v" you should get only one output like

PHP5, The PHP Group,

Let us start the apache, and put some php function in a file "phpinfo()" in
index.php. you will get only PHP5(suppose). I am trying to explain that
your output is one (PHP4 or PHP5).

The question of running both in parallel seems to be difficult in this
scenario.
It also says when u will get to know that which version is now u running....


Regards,

Umair Shakil
ETD

On 9/21/07, gjgowey at tmo.blackberry.net <gjgowey at tmo.blackberry.net> wrote:
>
> Maybe if you custom build them from source giving each it's own directory
> using --prefix you can do it, but Umair might still be right about library
> conflicts.  Not including the libraries and binaries in any paths might
> solve the problem and execution still could happen via a shell script for
> each to append the proper path before launch, but this is all just guessing.
>
> Geoff
>
> Sent from my BlackBerry wireless handheld.
>
> -----Original Message-----
> From: "umair shakil" <umairshakeel at gmail.com>
>
> Date: Fri, 21 Sep 2007 09:26:25
> To:"CentOS mailing list" <centos at centos.org>
> Subject: Re: [CentOS] running php4 and php5 parallel
>
>
> Dear Salam,
>
> I have not used this thing yet, but i suppose not recommended, may be
> libraries confliction
> occur, some abnormal behaviour may arise.
>
> Regards,
>
> Umair Shakil
> ETD
>
>
>
> On 9/20/07, Peter Peltonen <peter.peltonen at gmail.com <mailto:
> peter.peltonen at gmail.com> > wrote: Is it possible to run php4 and php5
> parallel in Centos4 somehow? If
> the parallel php5 could be installed from rpm also that would be great
> also.
>
> Regards,
> Peter
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org <mailto:CentOS at centos.org>
> http://lists.centos.org/mailman/listinfo/centos <
> http://lists.centos.org/mailman/listinfo/centos>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20070921/339a83fc/attachment.htm


More information about the CentOS mailing list