Skip to content

cam8001/php-xhprof-mamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

Compiled xhprof modules for use with MAMP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published