boztek

: [Boris Gordon]

homebrew

Install LAMP stack from source on Mac OS X 10.6 Snow Leopard using Homebrew

Here is a guide on using Homebrew to install a PHP 5.2 based stack that will live along side the PHP 5.3 that the Mac OS X 10.6 ships with. Currently this installs MySQL 5.1.41, PHP 5.2.12 and all dependencies.

It is for use with the Apache that ships with Snow Leopard and is compiled as 64-bit binaries on appropriate hardware, using the LLVM compiler.

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