How to Start Apache httpd on Boot with launchd

apachelaunchd

Since upgrading to Yosemite, Apache httpd is no longer started at boot time.

I've tried: sudo launchctl load org.apache.httpd.plist but I'm getting a service is disabled error.

I've modified the plist file and set Disabled key to NO but I still get the error. What am I missing here?

Best Answer

I found a solution to your problem here.

Using Terminal "How do I make Apache start automatically":

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

You were close to the solution just needed the -w override.

the -w Overrides the Disabled key and sets it to false.