LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2008, 02:00 AM   #1
geetha_sg
Member
 
Registered: Sep 2006
Posts: 32

Rep: Reputation: 15
Multiple PHP installation on linux


Hi,

I am using php 4.3.4 with apche 2.0.48 on redhat. I need to install php 5 another directory without disturbing existing setup. Please help me

Thanks in advance

Sg..
 
Old 06-21-2008, 04:39 AM   #2
nc3b
Member
 
Registered: Aug 2005
Posts: 330

Rep: Reputation: 32
Why don't you just grab the sources, unpack them and compile them. All you have to do is set a configure parameter. So if you want to install in the /bla/php directory you say

Code:
./configure --prefix=/bla/php
Of course you should also add other configurations parameters that suit your needs. Hope this helps. Cheers

PS
This doesn't imply that your apache can work with this other php instalation. Using the same method you can also install a second apache server

PPS
This is a general method, and it is not quite clean, nor is it dependency aware. But it will work on any distro
 
Old 06-21-2008, 07:53 AM   #3
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
maybe the following will help?

http://devzone.zend.com/node/view/id/633
or
http://www.howtoforge.com/apache2_with_php5_and_php4
 
Old 06-22-2008, 09:56 PM   #4
geetha_sg
Member
 
Registered: Sep 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Hi nc3b and graemef, thanks for your response . I will try and let me know.

regards
geetha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo Linux - how to map Apache server to look at php files in multiple locations bg108 Linux - Newbie 3 02-07-2008 04:51 AM
php Installation error in linux gobinath Linux - Software 3 12-17-2005 01:51 AM
multiple instances of PHP installation cubax Linux - General 1 12-29-2004 07:03 PM
Does Mandrake Linux have PHP/MySQL on installation disks? harplady Linux - Newbie 8 08-16-2004 09:57 AM
Multiple os installation involving Linux 7.0 mk1_1 Linux - Software 1 01-15-2002 02:04 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration