Mac OS X: Restart / Stop / Start Apache2

Mac OS X: Restart / Stop / Start Apache2

To restart the Apache web server on Mac OS X, you can use the following command:

‮r‬efer to:lautturi.com
sudo apachectl restart

To stop the Apache web server, you can use the following command:

sudo apachectl stop

To start the Apache web server, you can use the following command:

sudo apachectl start

Note: You may need to use sudo to execute these commands, depending on your system configuration.

Created Time:2017-10-30 10:17:49  Author:lautturi