Posted By

jonhenshaw on 05/16/07


Tagged

apache graceful restart httpd


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

basicmagic
brandonjp


Apache Graceful Restart


 / Published in: Bash
 

Enter this command in Terminal to restart Apache. Especially useful after you've made changes to the hosts file.

  1. sudo apachectl -k graceful

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: dmatranga on October 7, 2009

i'm getting the following error when trying to execute this command in SSH:

bash: apachectl: command not found

any ideas?

You need to login to post a comment.