If you do a manual build as mentioned below (not using the prebuilt rpm's) and use both php versions in CGI mode (not as apache modules) then it should be possible so long as the php4 is assigned to one directory and the php5 is assigned to another. Geoff Sent from my BlackBerry wireless handheld. -----Original Message----- From: "umair shakil" <umairshakeel@xxxxxxxxx> Date: Fri, 21 Sep 2007 10:03:31 To:"CentOS mailing list" <centos@xxxxxxxxxx> Subject: Re: [CentOS] running php4 and php5 parallel 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@xxxxxxxxxxxxxxxxxx <mailto:gjgowey@xxxxxxxxxxxxxxxxxx> < gjgowey@xxxxxxxxxxxxxxxxxx <mailto:gjgowey@xxxxxxxxxxxxxxxxxx> > 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@xxxxxxxxx <mailto:umairshakeel@xxxxxxxxx> > Date: Fri, 21 Sep 2007 09:26:25 To:"CentOS mailing list" <centos@xxxxxxxxxx <mailto:centos@xxxxxxxxxx> > 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@xxxxxxxxx <mailto:peter.peltonen@xxxxxxxxx> <mailto: peter.peltonen@xxxxxxxxx <mailto:peter.peltonen@xxxxxxxxx> > > 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@xxxxxxxxxx <mailto:CentOS@xxxxxxxxxx> <mailto:CentOS@xxxxxxxxxx <mailto:CentOS@xxxxxxxxxx> > http://lists.centos.org/mailman/listinfo/centos <http://lists.centos.org/mailman/listinfo/centos> <http://lists.centos.org/mailman/listinfo/centos <http://lists.centos.org/mailman/listinfo/centos> > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx <mailto:CentOS@xxxxxxxxxx> http://lists.centos.org/mailman/listinfo/centos <http://lists.centos.org/mailman/listinfo/centos> _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx <mailto:CentOS@xxxxxxxxxx> http://lists.centos.org/mailman/listinfo/centos <http://lists.centos.org/mailman/listinfo/centos> _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos