Restarting Apache for Mac

  1. Open Terminal.

    Terminal can be found in the Utilities folder of Applications.

  2. Type one of the following commands:

    Restarting Apache

    sudo /Library/Apache2/bin/apachectl restart

    Starting Apache

    sudo /Library/Apache2/bin/apachectl start

    Stopping Apache

    sudo /Library/Apache2/bin/apachectl stop