ubuntu安装最新的xhprof 安装xhprof aptitude install python-software-properties add-apt-repository ppa:brianmercer/php5-xhprof aptitude update aptitude install php5-xhprof graphviz 其中graphviz包用来生成图形