OS X 10.6 (Snow Leopard) – using MAMP/PECL to install PHP extensions

Need help installing PHP extensions for OS X 10.6 (Snow Leopard) using MAMP and the included pecl binary? Well, you have come to the right place. If you have tried this on its own, you will notice that none of the extensions pecl builds will work with MAMP. This is because MAMP is compiled as a 32-bit binary whereas pecl tries to build 64-bit PHP extensions. [Update Feb. 1, 2011] A much easier way to install PECL packages: CFLAGS=…

Read more »

Setting up LAML (Linux, Apache, MySQL, Lua) with MAMP

As a weekend project I decided to set up a LAML, (Linux, Apache, MySQL, Lua) stack on my computer. I never worked with Lua before, but I figured it wouldn't be too hard to get it working with my MAMP setup. Getting started, I spent some time reading any articles I could find on the web that talked about setting up or using using Lua for web development. I quickly ran into the Kepler Project which as their website points…

Read more »