Compiled xhprof modules for use with MAMP.
Latest commit 368cfd6 Jun 3, 2016 @cam8001 Merge pull request #4 from BramEsposito/master
Added compiled xhprof.so for php5.6.10.
Permalink
Failed to load latest commit information.
php5.2.17
php5.3.14
php5.3.20
php5.3.6
php5.4.4
php5.6.10
README.md

README.md

php-xhprof-mamp

Compiled xhprof modules for use with MAMP.

Instructions:

  • Copy xhprof.so to /Applications/MAMP/bin/php/php5.x.x/lib/php/extensions/no-debug-non-zts-200xxxxx/ (replacing x with your PHP version and date)
  • Add the following lines to your php.ini (Open MAMP click on File → Edit Template → PHP → PHP 5.x.x php.ini)
extension=xhprof.so
xhprof.output_dir=/Users/your_username/Sites/xhprof/runs
$ cd ~/Sites
$ curl http://pecl.php.net/get/xhprof > xhprof.tgz
$ tar -xzf xhprof.tgz
  • At this point, you will have an xhprof directory with a version number on it. As of this writing, it's 0.9.4, but it may be different for you. Rename this directory to just xhprof:
mv xhprof-0.9.4 xhprof

Have fun :)