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 restart
ORsudo apachectl -k restart
Task: Stop Apache Web server
sudo apachectl -k stop
Task: Start Apache Web server
sudo apachectl -k start
No comments:
Post a Comment