Mac OS 终端起动、关闭、重启apache的方法打开终端重启apache:sudo /usr/sbin/apachectl restart关闭apache:sudo /usr/sbin/apachectl stop开启apache:sudo /usr/sbin/apachectl start