Created
October 22, 2011 22:28
-
-
Save msonnabaum/1306569 to your computer and use it in GitHub Desktop.
install xhprof on mamp for php 5.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/php/php5.3.6/bin/phpize | |
./configure | |
make | |
cp modules/xhprof.so $(/Applications/MAMP/bin/php/php5.3.6/bin/php-config --extension-dir)/ | |
echo "extension=xhprof.so" >> /Applications/MAMP/bin/php/php5.3.6/conf/php.ini |
I have pre-compiled binaries here: https://github.com/cam8001/php-xhprof-mamp
I got the same output as jessebeach even after configuring the MAMP Server components and libraries, but xhprof works all the same.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like you need the "MAMP components" for this to work: MAMP Server components and libraries