Skip to content

Instantly share code, notes, and snippets.

@msonnabaum
Created October 22, 2011 22:28
Show Gist options
  • Select an option

  • Save msonnabaum/1306569 to your computer and use it in GitHub Desktop.

Select an option

Save msonnabaum/1306569 to your computer and use it in GitHub Desktop.

Revisions

  1. msonnabaum revised this gist Nov 20, 2011. No changes.
  2. msonnabaum created this gist Oct 22, 2011.
    8 changes: 8 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    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