LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2002, 06:07 PM   #1
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Arrow Adding options to apache


I seem to always be installing something that needs certain options compiled into apache for such and such software, my question is how do you tell what is currently enabled in apache, for an example I am trying to get squirrellmail running and it says that I need php4 enabled for it to work, how do I tell if I already have that? right now I have apache running, I had it installed during the redhat 7.2 install so I am not sure what it was installed with. Thanks for any help.
 
Old 06-03-2002, 07:07 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
I can't recall off the top of my head what the option is to enable this, but there should be a way to enable a directory called "server-info" (i.e. http://www.yourmachine.com/server-info/) which spills out absolutely everything you'd ever want to know about your Apache configuration. Check out the Apache documentation for this. I'm pretty sure it's called "server-info".

If I do not remember correctly (and I might, since this is a big security risk, baring your server's butt like this, and I do not use it), I would appreciate if someone here corrects me. Thanx!

Here's the link: http://httpd.apache.org/docs-2.0/mod/mod_info.html
 
Old 06-04-2002, 12:30 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
probably php is not installed. you can have a lok at that in /usr/local/apache/etc/httpd.conf. if php is installed there should be a line like add_module libphp4.so or similar. usually php is installed to /usr/local too. you can download that from php.net or take your older distro´s version. follow the install.
cheers, jens
 
Old 06-04-2002, 01:48 AM   #4
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
look in http.conf (either in /usr/local/apache/etc/httpd.conf or /usr/local/apache/conf/httpd.conf)

also php is easy to install
 
Old 06-04-2002, 05:16 AM   #5
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
server-info may not work if it's not setup
if you have setup apache with rpm than you have add modules statements in /etc/httpd/conf/httpd.conf.
Otherwise check your .configure file from compiling to see what you have enabled and what was enabled by default
 
Old 06-04-2002, 02:39 PM   #6
biggiefatts
Member
 
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60

Rep: Reputation: 15
You can also try using Webmin. It is a very nicely set up GUI for a lot of the services that are running on your computer. In drake 8.2 it comes on the install CDs so you can install it from the software manager. I am not sure if it comes with RedHat or not but you can download it here:

http://www.webmin.com/webmin/

 
Old 06-04-2002, 02:44 PM   #7
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
Want to know what modules are compiled into Apache?

/path/to/apche/bin/httpd -l

(That is 'dash el' not 'dash one')
 
Old 06-05-2002, 05:11 AM   #8
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
to -- notsoevil:
bingo
 
Old 06-05-2002, 01:39 PM   #9
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Original Poster
Rep: Reputation: 30
Thank you for your replies, I actually figured out how to tell if php was installed but I still wanted to see your answers as I have problems telling what is installed quite often, your answers will most likely save me much time in the future. When I get home I will post how I tested php for others to use.
 
Old 06-05-2002, 08:11 PM   #10
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
To install PHP:

downloa the php tar
untar it
cd to the new dir
run ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

add php mime types to apache httpd.conf

run/usr/local/apache/bin/apachectl restart
 
  


Reply



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
adding module options maenho Linux - Software 2 08-12-2005 05:58 AM
greyed out backend options when adding printer (CUPS) NewConvertLX Linux - Hardware 1 11-19-2004 05:27 PM
Adding ./configure options to an already installed RPM EviLBoX Linux - Software 3 10-29-2004 03:31 PM
Tricky Root Security Question - Adding robust options? lemay_jeff Linux - Security 12 09-07-2004 03:52 PM
adding startup options archish Slackware 1 11-08-2003 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 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
Open Source Consulting | Domain Registration