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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-03-2002, 06:07 PM
|
#1
|
|
Member
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428
Rep:
|
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.
|
|
|
|
06-03-2002, 07:07 PM
|
#2
|
|
Member
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, RedHat/CentOS, Fedora
Posts: 609
Rep:
|
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
|
|
|
|
06-04-2002, 12:30 AM
|
#3
|
|
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,279
Rep:
|
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
|
|
|
|
06-04-2002, 01:48 AM
|
#4
|
|
Member
Registered: May 2002
Distribution: A few
Posts: 488
Rep:
|
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
|
|
|
|
06-04-2002, 05:16 AM
|
#5
|
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Rep:
|
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
|
|
|
|
06-04-2002, 02:39 PM
|
#6
|
|
Member
Registered: May 2002
Location: Buffalo, NY
Distribution: Mandrake 9.0, Red Hat 8.0
Posts: 60
Rep:
|
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/
|
|
|
|
06-04-2002, 02:44 PM
|
#7
|
|
Member
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120
Rep:
|
Want to know what modules are compiled into Apache?
/path/to/apche/bin/httpd -l
(That is 'dash el' not 'dash one')
|
|
|
|
06-05-2002, 05:11 AM
|
#8
|
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Rep:
|
to -- notsoevil:
bingo 
|
|
|
|
06-05-2002, 01:39 PM
|
#9
|
|
Member
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428
Original Poster
Rep:
|
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.
|
|
|
|
06-05-2002, 08:11 PM
|
#10
|
|
Member
Registered: May 2002
Distribution: A few
Posts: 488
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|