Solved

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

Posted on 2011-03-07
3
561 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
issue with DB import 1 36
$_SERVER Variable question 31 49
Reference key in foreach loop 4 38
How to hide contact form only if no validation errors 4 20
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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