xprofのインストールメモ


xhprof

参考 http://qiita.com/w_cota/items/48667a845cd06d969d4a

vi newrelic.ini [xhprof] extension=xhprof.so xhprof.output_dir=“/var/log/xhprof/”


mongo

// mongo php install http://qiita.com/nownabe/items/123a8fd04ff5252b3036

sudo service mongod start 下記のエラー発生した場合、空き容量が足りないため、configを修正 ERROR: Insufficient free space for journal files http://qiita.com/dice-k/items/d7e56e8ad788d7150090

pecl install mongo

vi /etc/php.d/mongo.ini [mongo] extension=mongo.so

mcryptはなかったら、インストールが必要

yum install php-mcrypt

github https://github.com/preinheimer/xhprof https://github.com/perftools/xhgui

https://www.digitalocean.com/community/tutorials/how-to-set-up-xhprof-and-xhgui-for-profiling-php-applications-on-ubuntu-14-04

https://github.com/preinheimer/xhprof https://github.com/perftools/xhgui