Linux - SoftwareThis 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.
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.
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.
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!
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.
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
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:
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.