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 stopORsudo apachectl -k stopTo start Apache web server again, enter:sudo apachectl startORsudo apachectl -k startThe following will restart apache web server, enter:sudo apachectl restartORsudo apachectl -k restartYou 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