Archive for the 'mamp' Category

Apache not starting on MAMP

One of those nights where I wanted to spend an hour working on a site – you know, really quick-like – and I ended up spending 3 (count’em – three…) hours f@cking with my MAMP server.

I’ve got several folders of sites on my local computer, and I switched from one I had been working on recently to another new folder of a site I had just downloaded.  And in my MAMP dashboard, MySQL was working fine, but Apache would not start.

Three hours later and lots of testing, let’s just skip to the answer – the enclosing folder (not the actual html docs folder I was pointing to in the MAMP prefs, but the enclosing folder) had an accented character in the folder name.  Yes, like the accent over the “e” in frusté, for example…  (Or perhaps more to the point, emmerdé)

This may be obvious to the Linux heads, but to a Mac user like myself, it took hours of narrowing down the problem. Add to that the fact that MAMP/Apache would not reset even after you changed the folder it looked at until you actually restarted MAMP (i.e. using the MAMP button to cycle the servers did not help).

Sigh.  Now I’m where I wanted to be… oh, 3 hours ago?