View Full Version : Apache2/Httpd Issue

30th July 2004, 10:59 AM
I think I have too many installations of Apache on my machine. I was walking through a how-to install apache and did my ./configure --prefix=/usr. It was working, but did not have apxs or DSO on. So, I installed it again to another directory such as ./configure --prefix=/usr/local/apache2 and was able to get apxs to work. Now I am not sure which installation is actually running when I start apache at console when I "apachectl start" or "httpd start". How do I know which one is actually running and how do I get rid of the first one I installed?

Any help would be appreciated.



30th July 2004, 02:17 PM
Why don't you just use the shipped apache packages? They are tested, proven, they have support for almost everything you need and they are as easy to install as this: yum install httpd

30th July 2004, 04:19 PM
Sounds like you have two build trees you can't tell apart. However, Apache installs to one location, so you should only have one installed, just two directories you built from. Correct? Perhaps you can look at the complied files and compare them to the installed files.

A simpler way is to use the httpd packages like foolish suggested. Install httpd-devel by running
yum install httpd-devel It has apxs. DSO (mod_so) support is already in the rpm version.

31st July 2004, 03:15 AM
I have done the yum install httpd-devel and it worked. Now I'm trying to figure out how to get mod_mono installed so it will integrate with Apache. Any tips on that would be greatly appreciated. I have seen some tutorials, but they are not instructional enough for a beginning user of Linux. I am a .NET Developer and really trying to give Linux a shot. I love it so far, but I have a lot of learning to do.

Thanks for the help!