How to start stop apache on MAC OSX

start Apache
apachectl start
Stop Apache
apachectl stop
Restart Apache
apachectl restart

If the above commands don’t work, try these

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

You can also start the web server from the system preferences. Open system preferences, go to sharing and then enable web sharing

starting webserver in mac osx
starting webserver in mac osx

Leave a Reply

Your email address will not be published. Required fields are marked *