Restarting Apache, different ways

Just reference for restarting apache, different strokes for different servers:

# /etc/init.d/httpd restart
# /etc/init.d/httpd start
# /etc/init.d/httpd stop

# service httpd restart

# apachectl -k graceful

sometimes you need sudo because it might only see the path from root

 

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)