Restart Apache in Mac OS X

To restart the Apache webserver service you can run the following command in a Mac OS X Terminal window:

sudo /usr/sbin/apachectl restart