reinstall apache or fix it
I was trying to enable php, mysql, apache on my macbook pro running yosemite. I followed this guide but it doesn't run. What's wrong: Setting up a local web server on a Mac
Please help.....I get an error saying http://localhost
Also, I asked my Question here: http://apple.stackexchange.com/questions/173368/cant-access-apache-powered-websi te-at-localhostbut couldn't get much of luck. Lastly, I did a configtest and found that there is some problem in apache inself. Please help me to fix it or suggest me way to completely remove it and do a fresh installation.
Abhimanyus-MacBook-Pro:log abhimanyuaryan$ sudo apachectl configtest
httpd: Syntax error on line 59 of /private/etc/apache2/httpd.conf: Cannot load libexec/apache2/mod_authn_default.so into server: dlopen(/usr/libexec/apache2/mod_authn_default.so, 10): image not found