LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2006, 04:45 AM   #1
asgerhallas
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Rep: Reputation: 0
Two Apache Servers and Configuration


Hi,

I'm about to install a second apache-server to run php5, as described here:

(It won't let me post the URL, but it was a brief guide to setting up to servers, and refer to the second one with proxy-settings of a vhost)

Now I'm pretty new to linux, apache and all, and when the guide tells me to:

Step1:
Add --enable-module=proxy to your Apache ./configure command.

The first question comes up: How do I do that, when the server is already installed and running?

I did not install the server, and if I have to reconfigure it or something, I must know that I'm not messing the old configuration up... how do I do that?

/Asger
 
Old 03-20-2006, 06:26 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
Step1:
Add --enable-module=proxy to your Apache ./configure command.
refers to the compilation of httpd (the Apache web server program). If you already have it installed,
you've already completed the compilation (or you installed a compiled version).
It is possible that your installed Apache wasn't compiled with the given option, so what you're trying to do
may not work.

My advice, try configuring your apache first. If that doesn't work, you can consider recompiling Apache, with the given option.

But let me ask you this first: why would you need 2 Apache servers? Isn't one enough for you?
I believe any Apache can run PhP5, if it has the right module/config. But then again, I'm no expert either, so
I can be mistaken.
 
Old 03-22-2006, 02:50 AM   #3
asgerhallas
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the reply. I guess I kind of got it now by recompiling, took me some time though to find the old options it was compiled with. But to answer your question: I need to run both php4 and php5, and neither of them as CGI. Hope it clears it

/Asger
 
  


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
Apache + virtual servers yussef Linux - Software 0 01-08-2005 01:05 PM
PHP and APACHE servers.. configuration question eech55 *BSD 6 10-20-2004 03:40 PM
Dual Apache Servers BorgKiller Linux - Software 2 09-28-2004 07:43 AM
servers efficiency and configuration javierj Linux - Networking 1 08-02-2004 01:31 AM
Apache and Virtual Servers... BaerRS Linux - General 2 03-08-2002 09:58 AM


All times are GMT -5. The time now is 01:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration