Rob Allen has posted a guide to his site today showing how to install XHGui via Ansible. XHGui is a graphical interface to view the results of XHProf, a performance evaluation tool.
I'm still using Ansible to provision Vagrant VMs. This is how I added the XHGui profiler to my standard setup.
He walks you through the five steps his process follows to get the necessary software installed and configured to get up and running:
- Install Composer
- Install the uprofiler PHP extension
- Install XHGui
- Set up for profiling
- Set up host for XHGui website
Each step includes the commands to execute or the lines to add/update to the configurations to get the system up and working.