restart apache command

# /usr/local/sbin/apachectl start

You can stop the server at any time by typing:apache

# /usr/local/sbin/apachectl stop

After making changes to the configuration file for any reason, you will need to restart the server:rest

# /usr/local/sbin/apachectl restart

To restart Apache without aborting current connections, run:code

# /usr/local/sbin/apachectl graceful
相關文章
相關標籤/搜索