Install APC on Mac OSX10.7

Install Command Line Xcode

https://developer.apple.com/downloads/index.action#

Install homebrew

https://github.com/mxcl/homebrew/wiki/installation

Install Autoconf

brew install autoconf

Update Pear Channels

sudo pear update-channels

Install PCRE

brew install pcre

Install APC!

sudo pecl install apc

Add the following line to the bottom of the /etc/php.ini file

extension=apc.so to the