Restart Apache in Redhat/Fedora

Restart Apache:
service httpd restart
/etc/rc.d/init.d/httpd restart
Note: You should be logged in as root or use su
Other commands:
/etc/rc.d/init.d/httpd status
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start
Note: /etc/rc.d/init.d/httpd seems to be different from /usr/sbin/httpd
Location of “service”:
Example: /sbin/service sendmail restart

3 thoughts on “Restart Apache in Redhat/Fedora”

Leave a Comment

Please answer question below to verify that you are a real person *