Yii 2

Learn  Yii 2 Online - Yii 2 framework support

Steps to Install xhprof in ubuntu and integrate xhprof with yii 2 framework

First we have to install xhprof in ubuntu ( integration )

Install graphviz 

sudo apt-get install graphviz
sudo apt-get install libgv-php5

This step is to generate callgraph of xhprof

 

Install Xhprof by pecl

sudo pecl install xhprof-0.9.4

 Add and enable php module XHProf to PHP5:

sudo -s
echo "extension=xhprof.so" > /etc/php5/mods-available/xhprof.ini
php5enmod xhprof
exit;

Test it