?
Solved

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

Posted on 2011-03-07
3
Medium Priority
?
569 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 2000 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
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…
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…
Suggested Courses

752 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