I have upgraded to El Capitan a few months ago. I have followed a few guides to install and setup AMP: Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.11 El Capitan
But I can't access my /Sites folder, because I can't connect to "localhost".
localhost (I actually tried with "localhost" typed in the address bar, and with my machine's address 192.etc) doesn't display "It works" message, instead I see this:
Your website. Create and publish your own website quickly and easily using iWeb, Pages, and many other applications available for Mac OS X.
and a few other sentences.
localhost/~username(username = my name), nor
localhost/usernamework - Safari displays a message that it can't connect to the localhost.
and of course I can't reach my Sites folder, because two previous steps don't work.
httpd -v Server version: Apache/2.4.18 (Unix) Server built: Feb 20 2016 20:03:19
Apache configtest is successful:
apachectl configtest Syntax OK
I have seen these discussions/pages:
- El Capitan Safari Can't open localhost
- Setting up a local web server on OS X
- How to install MySQL on Mac OS X El Capitan
but I am not sure if this is applicable to my situation.
Aslo, what's surprising, given the situation with apache, is that I can access phpmyadmin and mysql tables.
I will be grateful for your help!