The apachectl command act as Apache HTTP Server control interface. Open the terminal and type the following command to stop Apache web server:
sudo apachectl stop
ORsudo apachectl -k stop
To start Apache web server again, enter:sudo apachectl start
ORsudo apachectl -k start
The following will restart apache web server, enter:sudo apachectl restart
ORsudo apachectl -k restart
You can displays a brief status report by visiting the url http://localhost:80/server-status in the web browser of your choice.
No comments:
Post a Comment