; Enable xhprof extension module extension = xhprof.so ; You can either pass the directory location as an argument to the constructor ; for XHProfRuns_Default() or set xhprof.output_dir ini param. xhprof.output_dir = /tmp