Solved

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

Posted on 2011-03-07
3
567 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

705 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