mac开机启动apache

#sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist //开机启动
#sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist //关闭启动

启动

sudo apachectl -k start

重新启动

sudo apachectl -k restart


Last modification:October 30th, 2017 at 07:49 pm

Leave a Comment