Restart Apache in all Linux distributions

From http://linuxapachemysqlphp5.blogspot.com

Restart Apache

Ubuntu
service apache2 restart
/etc/init.d/apache2 restart
apache2ctl restart

CentOS
/etc/init.d/httpd restart
service httpd restart
/sbin/service httpd restart

Debian
service apache2 restart
/etc/init.d/apache2 restart
apache2ctl restart

Suse
/usr/sbin/rcapache2 restart
apache2ctl restart

Fedora
apachectl restart
/sbin/service httpd restart

RedHat
/etc/init.d/httpd status
service httpd restart
/usr/local/apache2/bin/apachectl restart

Quick little ref guide there… good to know.

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....