Skip to content

Instantly share code, notes, and snippets.



Last active Oct 7, 2016
What would you like to do?
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 "" > /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