I installed Apache 2.2 using Homebrew on OSX 10.9 and it was working fine until I upgraded to Yosemite this weekend.
sudo apachectl start
ps aux | grep httpd
ps aux | grep apache
sudo /usr/local/Cellar/httpd22/2.2.27/bin/httpd -k start
They all return nothing.
sudo apachectl
returns:
Usage: /usr/local/Cellar/httpd22/2.2.27/bin/httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S]
Any idea what file I could look at to see if there is any error? MAMP Pro seems to have similar issue which is fixed by renaming envvars to _envvars. I tried it and it didn't work.
Please let me know if you need more details.