service httpd restart
Note: You should be logged in as root or use su
Note: /etc/rc.d/init.d/httpd seems to be different from /usr/sbin/httpd
Location of “service”:
Example: /sbin/service sendmail restart
Restart Apache in Redhat/Fedora
3 thoughts on “Restart Apache in Redhat/Fedora”
Thank you for the post. It helped me out.
Just what I was looking for. Thanks!