0
votes
1answer
194 views

Double MySQL Running on Mountain Lion

After I've done a full restart, my Apache PHP server doesn't connect to Local MySQL ( connecting via 127.0.0.1 because localhost for some reason fails always ). So I did this today: ➜ ~ mysqladmin ...
0
votes
1answer
2k views

OS X Mountain Lion Apache Forbidden

I follow this guide: native lamp stack macos x I created Sites/hello/ folder and htdocs folder in hello. When I ping hello.dev -> I see 404 when I try localhost/~username/hello -> Forbidden ...
1
vote
0answers
48 views

Can't set virtual host on OS X

I'm trying to create a virtual host for PHP developement, so I don't go to http://localhost/new_website, but to new_website.dev and get the website. I've created the directory in the /Sites folder ...
1
vote
0answers
447 views

Cannot resolve localhost on Mac OS mountain lion

For the longest time I was a MAMP user, until yesterday, something went terribly wrong and MAMP would no longer start mysql. Long story short I decided to ditch MAMP and just setup my own AMP server, ...
1
vote
0answers
205 views

I get a 403 when I go to http://localhost/~admin/

I'm running mac osx 10.8. when I go to localhost or 127.0.0.1/ my browser says: "It Works!". However when I go to localhost/~admin/ or 127.0.0.1/~admin/ my browser says: "Forbidden You don't ...
0
votes
1answer
2k views

403 Forbidden on OS X with symbolic link

I just upgraded to OS X 10.8 Mountain Lion to find that my web server setup was ruined by the upgrade. I managed to get PHP and Apache back up and running, but I still do not have my old setup from ...
53
votes
6answers
60k views

How do I start apache in OSX Mountain Lion / Mavericks?

OSX Mountain Lion removed the GUI for web sharing, but apache is still installed. How do I start and stop the service? How do I get the service to automatically launch on startup?