mercredi 18 février 2015

Can't access apache-powered website at localhost


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 in setting up a local web server on OS X Please help.....I get an error saying http://localhost/ is not available



Abhimanyus-MacBook-Pro:~ abhimanyuaryan$ cat /etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
#::1 localhost


Abhimanyus-MacBook-Pro:~ abhimanyuaryan$ ls -lad /Library/WebServer/Documents /Library/WebServer/Documents/index*
drwxr-xr-x 8 root wheel 272 Feb 18 13:29 /Library/WebServer/Documents
-rw-r--r-- 1 root wheel 49 Feb 18 13:29 /Library/WebServer/Documents/index.html
-rw-r--r-- 1 root wheel 67 Jan 6 14:08 /Library/WebServer/Documents/index.html.en

Abhimanyus-MacBook-Pro:~ abhimanyuaryan$ ps aux| grep http
abhimanyuaryan 26010 0.0 0.0 2432772 664 s000 S+ 10:21PM 0:00.00 grep http




Aucun commentaire:

Enregistrer un commentaire