Last active
December 10, 2018 22:42
-
-
Save JohannesHoppe/6a0f833165d6517c9ab7a38d06a990d2 to your computer and use it in GitHub Desktop.
start, stop or restart Apache from the console terminal in Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To start httpd: | |
sudo /usr/sbin/apachectl start | |
# To stop httpd: | |
sudo /usr/sbin/apachectl stop | |
# To restart httpd: | |
sudo /usr/sbin/apachectl restart | |
# quick start | |
httpd | |
# Kill it with fire | |
sudo killall httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment