06 Mar 08 _ How to fix a broken MAMP


By Christopher
in BlogTorials

MAMP MAMP is an awesome program that allows you to install Apache, MySQL and PHP with just a few clicks on Mac OS X. It’s a really easy way to set up a local development environment, or to get a dynamic website running a laptop (which is something we recently had to do for a client).

Apparently there’s a bug in the current version (1.7.1) that causes MAMP to stop working even though the MAMP window reports Apache and MySQL running with a green light. When you try to load up pages in a browser you’ll get an unable to connect message like “Firefox can’t establish a connection to the server at localhost:8888“. Stopping and starting the Apache and MySQL services doesn’t fix the problem and even restarting your Mac doesn’t help! You may not even be able to get MAMP to stop running. Here’s how to fix the bug…

The solution is rather simple:

Open the MAMP preferences window. Make no changes, just click OK. The servers will stop and restart. Fixed!

It’s that simple, but who would have thought that would solve the problem? I’ll tell you who… thanks to Sairuh at Iwaruna.com for pointing out the fix. Sairuh also points out that it’s a known bug and it’s on the developers list to fix. MAMP is a really great application and I would definately recommend it despite this known bug!

Spread the Word:
  • Slashdot
  • Digg
  • Facebook
  • Reddit
  • del.icio.us
  • StumbleUpon
  • Technorati
  • NewsVine


12 Responses to “How to fix a broken MAMP”

  1. Micah Says:

    Thanks, that’s a life saver.

  2. r-buzz Says:

    great, easy but so useful i had to reinstall it so many times thanls

  3. Karin Says:

    Thanks a lot!!

  4. Sparky Says:

    Thanks!

    This happened when we lost power during a storm. When the server came back on MAMP restarted and showed two green lights, yet apache refused to serve any pages.

    So MAMP kinda sucks… this is a significant bug.

  5. Ben Says:

    Bloody invaluable. Thanks for the post!

  6. Ben (a different Ben) Says:

    Yeah this saved me ages of troubleshooting… thanks!

  7. John Bickar Says:

    Great post, thanks a lot. This was killing me.

  8. Sjef Says:

    Saved my afternoon, cheers man.

  9. Jason Says:

    thank you! I was downloading to re-install when I came across this. So queer of it to just stop working like that. Wonder why.

  10. C.J. Says:

    Thanks! Anybody know if it was fixed in 1.7.2?

  11. hompie Says:

    Rebooting your Mac is necessary when you’re using the MAMP-widget. If you want to turn it off by hitting “Stop Servers” button in the dashboard, it won’t respond.

    To fix that reboot the Mac, and start up MAMP from the Applications folder (not the dashboard-widget), and follow the steps described above.

  12. Ian Says:

    +1 - brilliant!

    I thought I was going to have to reinstall.

    You’re a lifesaver :-)


Leave a Reply