I’m setting up a local web server on OSX Mountain Lion. I’m currently using the version of PHP that ships with OSX, and have installed MySQL and Apache with Homebrew (http://mxcl.github.com/homebrew/).
The server is running fine, but I’m struggling to get PHPMyAdmin installed. Homebrew seems to have downloaded the PHPMyAdmin files to /usr/local/Cellar/phpmyadmin/3.5.2.1/share/phpmyadmin, but despite following a couple of tutorials I can’t get http://localhost/~jim/phpmyadmin (http://localhost/~jim/ is my webroot) to point to this directory.
I’m guessing the problem is something to do with httpd.conf or a Virtual Hosts configuration file, but I’m not sure how to configure these to get the result that I want.
Try
http://localhost/phpMyAdmin. By default it shouldn’t install in your home directory.