Solved

Help setting up Red Hat (5.6) to simultaneously run 2 versions of PHP

Posted on 2011-03-07
3
550 Views
Last Modified: 2013-12-06
I urgently need assistance setting up a LINUX box running Red Hat Enterprise 5.6 so that it can run PHP version 5.3.5 and 5.2.14 simultaneously. I was able to find a few pointers through my searches and in particular that it could be done by running a second instance of PHP as a CGI. I have upgraded the machine to PHP 5.3.5 now I need help set up the machine to run 5.2.14. I have installed FastCGI on the machine but am now stuck. Any help or pointers will be greatly appreciated,

Thank you in advance.
0
Comment
Question by:fdran
  • 3
3 Comments
 
LVL 10

Accepted Solution

by:
honestman31 earned 500 total points
ID: 35054983
0
 
LVL 10

Expert Comment

by:honestman31
ID: 35054992
for you read the CentOS  part as it is like redhat
0
 
LVL 10

Expert Comment

by:honestman31
ID: 35055022
in short here is what you have to do   to install phpfarm.
    from
 http://cweiske.de/tagebuch/Introducing%20phpfarm.htm

$ svn co http://svn.php.net/repository/pear/ci/phpfarm/trunk/ phpfarm
$ cd phpfarm/src
$ ./compile 5.3.2
... fetching sources from php.net
... configuring
... compiling
... installing
... fetching and setting up pyrus
$ php-5.3.2 --version
PHP 5.3.2 (cli) (built: Mar 10 2010 18:08:27) (DEBUG)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
$ pyrus-5.3.2 --version
Pyrus version 2.0.0a1 SHA-1: 2FDFB5E00A6D707437DBC047AAF9D115C6484D90
Using PEAR installation found at /home/cweiske/Dev/cvs/pear/phpfarm/inst/php-5.3.2/pear
php pyrus.phar version 2.0.0a1.

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now