Restarting Apache on Mac OS X Posted on May 21, 2013July 27, 2018 by Kenny The command to restart apache on Mac OS X is: sudo apachectl -k restart