A MAMP Glitch on Leopard

Mon, 10/13/2008 - 10:41

A very quick note on a bug I ran across this morning. I have recently disabled the Apache server that ships with OSX in favor of MAMP (v 1.7.1) to manage my local development environment on OS 10.5.5. As I got started on my workday I noticed that that my localhost was not resolving in the browser. A good sign that Apache is not running. I checked the server status with MAMP which showed that MySQL and Apache were both running. So I attempted to restart the servers, at which time MAMP just gets hung up. Nothing happens. The servers never restart. I was able to restart Apache successfully from terminal /Applications/MAMP/bin/apache2/bin/apachectl restart but was never able to get MySQL to respond. After digging around a bit, I realized that this is a known bug. The solution is a bit odd, but works:

  1. Open the MAMP application
  2. Click on "Preferences"
  3. Then Click "OK"
The accurate server state should now be reflected, and MAMP should be responsive to server start/stops. Weird, I know....

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.