xhprof
▪ `xhprof`はpeclからinstall
▪ Php-fpmのconfigで有効化
▫ /etc/php.d/xhprof.ini ->
▫ xhprofのweb設定------>
▪ public/index.phpの改修---->
[xhprof]
extension=xhprof.so
xhprof.output_dir="/var/log/xhpro"
Cp -a /usr/share/pear/xhprof_lib /user/local/nginx/xhprof/ (http公開領域)
Cp -a /usr/share/pear/xhprof_html /user/local/nginx/xhprof/ (http公開領域)
if (function_exists('xhprof_enable')) {
xhprof_enable();
}
// Boot the app...
require APPPATH.'bootstrap.php';