So over the period of a week, I’ve been helping Alpaca get a MAMP (The setup, not the prepackaged deal) setup going off and on. So starts a huge adventure.

We first started looking at darwin ports, but we soon realised that it did everything we didn’t want it to. Disabled most PHP modules, disabled pear and pecl, and just flat out didn’t work for what we needed. The only thing that did work was the MySQL port…

So we went over to the MAMP camp. We thought we had it. There it was, a prepacked installer with Mysql 5, PHP5, apache, and all the PHP extensions required but two pecl ones. Little did we know… So the first task at hand was to disable eAccelerator. This was easily done in a control panel, but the rest wasn’t. MAMP doesn’t add any of the binaries to your shell’s PATH, so we had to do that so we could use pecl.

From there, we tried to install APC and so the trouble began. We were loaded up with errors about Apache’s APXS and config_vars.mk. I quickly solved the APXS file issues, but the config_vars.mk was a stumper. We could not make it work, even putty an old one there, since MAMP doesn’t have one.

So now, we’re going hardcore. I’m just going to tell him how to compile them from source so we don’t lose anymore time, because this one day job has taken WAY too long to do.

P.S. I’m still working on that new design, just a bit preoccupied at the moment. I also have an APC/Memcached article 75% finished.