You are here

Mac OS X upgrade - localhost stopped running

I ran "apachectl configtest" and it reported "Syntax OK". but it was not running (any localhost page had an error). So I ran "sudo apachectl start" and now everything is good. I'm not sure whether this happened upgrading to Yosemite or El Capitan because I did them both within about a week. Getting the sites directory to work was a good bit more difficult. One thing I had to do was to make changes to my /etc/apache2/users/.conf file. and a few changes in httpd.conf as well. I found this link very helpful.