install apache from source
From WebHostingNeeds.com
Installing apache
cd /usr/local/src wget http://apache.techartifact.com/mirror//httpd/httpd-2.2.24.tar.gz tar -zxvf httpd-2.2.24.tar.gz cd httpd-2.2.24 ./configure --prefix=/usr/local/apache --enable-vhost-alias --enable-rewrite --enable-info make make install
Copy init file and make apache start at boot
cp build/rpm/httpd.init /etc/init.d/httpd chmod 755 /etc/init.d/httpd
Make Apache start on boot
chkconfig --add httpd chkconfig --level 35 httpd on
Create Symlink
cd /etc mv httpd httpd_old ln -s /usr/local/apache/ httpd cd /usr/sbin/ ln -fs /usr/local/apache/bin/httpd ln -fs /usr/local/apache/bin/apachectl cd /var/log rm -rf httpd/ ln -s /usr/local/apache/logs httpd /etc/init.d/httpd start
START / STOP SERVICE
service httpd restart service httpd start /usr/local/apache/bin/apachectl start /usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl status /etc/init.d/httpd start /etc/init.d/httpd stop /etc/init.d/httpd restart
To find runing process with pgrep
pgrep httpd
Apache Configuration File
vi /usr/local/apache/conf/httpd.conf