boztek

: [Boris Gordon]

macosx

UPDATED: Install PHP 5.2 stack from source on Mac OS X 10.6 Snow Leopard using Homebrew

I've updated the instructions to build a nice clean and fast PHP 5.2 stack using my own build scripts and the homebrew build system.

All software is installed into /usr/local for easy management and while it works with the included OS X Apache and libraries where possible it is installed in such a way that system updates from Apple don't clobber anything.

I use this stack as my local PHP and Drupal development environment.

The instructions are rather verbose but if you don't really care how it's done I've included a build script below that will do everything except the final configuration work.

Setting up a LAMP stack from source on Mac OS X 10.6

I'm maintaining some build scripts that are part of the Homebrew project. You can clone my fork with scripts to build PHP 5.2, MySQL and dependencies that will work with Snow Leopard's built-in Apache. I'll write a complete tutorial shortly that will get you from zero to LAMP heaven (with a Drupal focus) with as little pain as possible.

UPDATE: First tutorial on [installing LAMP from source on mac os x 10.6](http://boztek.net/blog/2009/10/07/install-lamp-stack-source