The apachectl command act as Apache HTTP Server control interface. It can be used to start, stop, and restart the Apache web server from command line.
Open a terminal and type any one of the following command:
sudo apachectl restartORsudo apachectl -k restartTask: Stop Apache Web server
sudo apachectl -k stopTask: Start Apache Web server
sudo apachectl -k start
No comments:
Post a Comment