November 24, 2008

Fix when MAMP fails to stop or start

Filed under: Tips — Tags: — Webopius @ 11:02 am

MAMP is a complete software bundle of Apache, MySQL and PHP for Mac OS X. Although Leopard now comes pre-installed with Apache and PHP and is MySQL ready, MAMP is still a hugely popular download because it takes minutes to get sites configured and running. Also, configuring Virtual servers is much simpler so if you are running multiple development sites as we do at Webopius, MAMP makes running them straightforward.

MAMP fails to stop or start

MAMP does have a problem though that causes many users to rip it out and re-install. Every few months, MAMP will appear to stop working and won’t allow you to start the servers or stop them. The MAMP dashboard widget will often show the green lights indicating that all is well but you won’t be able to access your sites or see the MAMP start page.

At this point, the traditional fix was to uninstall MAMP and re-install. Often you’d end up losing data or configuration settings.

The Fix

The fix is surprisingly simple:

1. Find the MAMP application, located in /Applications/MAMP/
2. Start
3. Click the ‘preferences’ button
4. Don’t change any of the preference settings, just click ‘OK’.

The MAMP Apache and MySQL servers should now re-start and you should find everything is back to normal again – including your MAMP dashboard widget.

You can find the MAMP download here.

  • Tags