Compiled xhprof modules for use with MAMP.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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 :)