Restart Apache on a Mac

by Pete Freitag

Here's how to restart Apache (httpd) web server on a Mac, open terminal and run the following:

sudo /usr/sbin/apacheclt restart

If you don't like using terminal, you can also restart apache on Mac by doing the following:

  1. System Preferences
  2. Sharing
  3. Uncheck Web Sharing (this is the Apache Service) to turn if off, then check it again to start it up.