How to stop apache permanently on Mac Mavericks?

I am trying to install a zend server on a Mac and you need to remove the Apache server, which is automatically included in Mavericks, so that instead the Apache server included in Zend will be used. Is it possible to prevent startup at startup or permanently delete?

+43
apache osx-mavericks macos
Dec 07 '13 at 9:30
source share
3 answers

Try the following:

sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 

This will stop the running Apache instance and write that it should not be restarted. It records your preferences in /private/var/db/launchd.db/com.apple.launchd/overrides.plist .

+89
Dec 07 '13 at 9:39
source share

try it

 sudo killall httpd 

he will stop everything

+9
May 6 '16 at 18:42
source share

If you came to this page like me and got something like /System/Library/LaunchDaemons/org.apache.httpd.plist: Could not find specified service. , try NOT to use the sudo command, which is why I am getting the above error.

+2
Jan 7 '16 at 13:53 on
source share



All Articles