Skip to content

Instantly share code, notes, and snippets.

View ezra-g's full-sized avatar

Ezra Gildesgame ezra-g

View GitHub Profile
@ezra-g
ezra-g / gist:1348223
Created November 8, 2011 16:18 — forked from msonnabaum/gist:1306569
xhprof on mamp
wget http://pecl.php.net/get/xhprof-0.9.2.tgz
tar -xzf xhprof-0.9.2.tgz
cd xhprof-0.9.2/extension
/Applications/MAMP/bin/php5.3/bin/phpize
./configure
make
cp modules/xhprof.so $(/Applications/MAMP/bin/php5.3/bin/php-config --extension-dir)/
echo "extension=xhprof.so" >> /Applications/MAMP/conf/php5.3/php.ini