LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Updating Apache (https://www.linuxquestions.org/questions/linux-newbie-8/updating-apache-362556/)

rbl 09-12-2005 01:52 AM

Updating Apache
 
Hello all

Running fedora 4, I am trying to install / update apache. I would like to make sure that apache gets installed in the same directory as it is now, keeping all settings in tact (eg. php).

The doc path is /var/www/html but where can I find out where apache is installed originally?

Could someone please let me know how the ./configure -- ?? should look like to make it work?

I have tried ./configure on its own which resulted apache being installed to /usr/local/apache2, with the result that php is not working.

After each restart the "default" http server gets started (service).

Thanks for your feedback

uopjohnson 09-12-2005 11:03 AM

The benefit of using a distro like Fedora is that you can use RPMs you should check out Freshrpms for the some good documentation.

If you still want to build from source then do
Code:

#which httpd
this will give you the path to the apache binary. You are also going to need to look for the httpd.conf file probably
Code:

#slocate httpd.conf
will tell you where that is that will be your config directory path when you build apache. There is a lot more to look into and you should google around and look on this fourum for directions on building apache from source.


All times are GMT -5. The time now is 01:24 AM.