Create a gist now

Instantly share code, notes, and snippets.

Installing XHProf on Ubuntu 14.04 (for Cloud9)
sudo apt-get update
sudo apt-get install php-pear php5-dev php5-mcrypt
sudo php5enmod mcrypt
sudo pecl install xhprof-beta
echo "extension=xhprof.so" > /tmp/xhprof.ini
sudo mv /tmp/xhprof.ini /etc/php5/mods-available/
sudo php5enmod xhprof
sudo service apache2 restart
# Now run `php --ri xhprof` to confirm that the install worked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment