[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 573
  • Last Modified:

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

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
fdran
Asked:
fdran
  • 3
1 Solution
 
honestman31Commented:
for you read the CentOS  part as it is like redhat
0
 
honestman31Commented:
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now