MAMP is Slow with Snow Leopard / Lion

Posted on 2011.12.12 by Tom

I use MAMP Pro for local development and after upgrading to Snow Leopard it seemed to slow down when it came to the initial connection to my testing domains. When I upgraded to Lion I also upgraded MAMP Pro and the problem became even worse. So much that it could take upwards of 5-7 second for a fresh WordPress install to load in the browser. After some searching around I found a dead forum post at http://forum.mamp.info/viewtopic.php?f=6&t=14081 where someone suggests using anything but .local for your domain names. Sure enough after firing up MAMP Pro and changing one of my test domains over to .devel from .local everything worked perfectly and MAMP Pro is back to being fast locally like it used to be.

The forum post offers some explanation that since Apple uses .local for Bonjour that due to something new in Lion it has started to cause real issue.

5 Comments on “MAMP is Slow with Snow Leopard / Lion”

  • Nathan Gassman December 21st, 2011 6:57 pm

    Hello..I am having the same problem…sooo slow1

    so your saying I have to upgrade to MAMPPro to be able to change from .local to .devel? Anyway I can make FREE MAMP run on .devel? THanks so much..struggling for 4 days.

  • Nathan Gassman December 21st, 2011 6:59 pm

    also..can I change the bonjour so it will not conflict with MAMP .local? No sure what bonjour is anyway

  • Nathan Gassman December 21st, 2011 7:04 pm

    May you knw the answer to this one too for me hopefully? cannot find any help in Google, etc.

    I type in
    http://localhost:8888/MAMP/info.php
    but comes up error:
    Not Found

    The requested URL /MAMP/info.php was not found on this server.

    …using FREE MAMP..so maybe something is not set up right?

    Sorry to keep asking but i am desperate here

  • admin April 24th, 2012 3:32 pm

    You don’t have to have MAMP Pro to be able to change this. It is basically just the vhost you are setting up needs to not be pointed to a .local address but a .dev instead.

    There isn’t anything you can do about Bonjour using the .local addresses. Here is a link to what Bonjour is, http://en.wikipedia.org/wiki/Bonjour_%28software%29. Super simplified version is that it allows Apple computers to talk to each other and find each other on a network.

    To find out why you are unable to see that MAMP/info.php file I would start by finding out what webroot is defined in your MAMP configuration and see if the MAMP folder and the info.php file are indeed there. MAMP is really, just like the name says, Mac/Apache/MySQL/PHP. So you should be able to troubleshoot this pretty easily by finding that root and placing a test html file in there and then going form there.

    MAMP Pro has an evaluation period and if you haven’t installed or configured Apache from scratch before then I would recommend trying it out. The GUI it provides might make it a lot easier on you. If you are just setting up a normal Apache server and are going to do one domain at a time also remember you can just use the factory install of Apache/PHP on your Mac.

  • Kevin deLeon July 6th, 2012 4:34 pm

    Good catch Tom. I always use .site, but this is good to know. There are several other devs here that are starting to use MAMP and if they run into that problem, now we’ll know.

Leave a Reply