This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).
PHP 5.6 installed with Homebrew.
Update: I wrote a blog post about this.
Update from Renalpha Valet MULTI-php version You need to install PEAR/pecl for php5.6 and run the pecl install through php5.6.