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.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
cheers, jens
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.