Help - Search - Members - Calendar
Full Version: Apache2 on RHEL
The Planet Forums > Operating Systems > Red Hat Linux
hilliked
I have been trying to figure out a problem and now learned that I needed to recompile apache in order to make it work. I have Apache 2.0.49 compiled without any problems, but when I try to run the new version I still had the old version of apache 2.x.x running...

This is where I'm a bit confused...why didn't the new compile over write the old install? I couldn't figure this out so I compared my two config's for apache

old config location = /etc/httpd/conf/httpd.conf
new config location = /usr/local/apache2/conf/httpd.conf

Then I did these to stop the old apache and start the new

/usr/sbin/apachectl stop
/usr/local/apache2/bin/apachectl start

ok...virtual servers seem fine, but now PHP doesn't work. So I guess I need to install that new now?

My main worry is that if I reboot the system the old apache will try and run....where do I make sure that doesn't happen and the new apache run or am I doing something very wrong here?

edit: ok I see what I need to do with the PHP http://www.php.net/manual/en/install.apache2.php However, I'm still worried with the whole two apache dameons possibly running or the old one running instead of the new.
hilliked
Is there anyone experienced enough to know if I'm going to run into problems by running the newly compiled and installed Apache2 the way the server was setup originally? Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.