Skip to content

Instantly share code, notes, and snippets.

@ezra-g
Forked from msonnabaum/gist:1306569
Created November 8, 2011 16:18
Show Gist options
  • Save ezra-g/1348223 to your computer and use it in GitHub Desktop.
Save ezra-g/1348223 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment