Splash of Style...Macs, Photography, Design, and other Passions

MAMP – Mac, Apache, MySQL, PHP

May 11, 2006 by debbie T | ApacheMac Software

Since my OS X re-install a few weeks ago, I haven’t found the time to install my local server. I kept delaying it because I had a feeling it was going to be a chore to configure properly.

Well, I just found out about a cool new project called MAMP which will easily install Apache, MySQL, and PHP. No muss, no fuss. When you don’t need it anymore, just throw the folder into the trash.

I decided to give it a shot, since it looked really easy to install and un-install. I normally run as a standard user, so I figured I should log in as administrator for this particular install; I launched the .dmg file, then dragged the MAMP folder into my Applications folder. I switched back to standard user, and I have no idea why, but Apache nor MySQL would not start. I tried logging in as administrator again, and even changing my standard user to an admin user. It didn’t work.

I tried searching on the Help Forums on the MAMP site, and found plenty of questions, but rarely any answers. (I really shouldn’t complain about the lack of support, since it is freeware, but be aware, you are probably going to be on your own if you need additional help.

Anyway, I decided to start from scratch, so I dragged the MAMP folder into the trash. There was a slight problem emptying the trash; an error message popped up stating MySQL was still running (???) but eventually after a restart, I could remove all of my initial installation of MAMP.

For my second try, I installed as a standard user, and after I dragged the folder into Applications, I launched MAMP. To my delight, it worked! Success!

The start page launched in Firefox, and it is very easy to access PHPMyAdmin and SQLiteManager this way. My launch page was http://localhost:8888/MAMP/index.php?language=English.

Next, I needed to change the location of my root web files. By default, MAMP requires all files to be saved in the htdocs folder found in the MAMP application folder. To change the configuration, launch the MAMP.app, and choose Preferences>Apache. I changed the document root to my main web folder. Yay! It works!

When accessing web files in your browser, make sure to point to the address http://localhost:8888/ and this should display the root of your web documents.

So far it appears to be working very well.

Related Links:

* How to secure MAMP
* Apple.com
* Fix WP permalinks in MAMP
* Textpattern.net Using MAMP

Commments are closed for this article.