Xdebug、XHProf 、OneAPM 和 SocketLog

DevOps 生活變得美好的神器。分別是 Xdebug、XHProf 、OneAPM 和 SocketLogphp

 

方法很簡單,從 Xdebug 下載最新版的源代碼。 wget 解壓:git

tar zxvf xdebug-2.3.3.tgz   cd xdebug-2.3.3   phpize   ./configure with-php-config=/usr/bin/php-config make   make install

[xdebug] zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so   xdebug.remote_enable=on   xdebug.remote_handler=dbgp   xdebug.remote_host=localhost   xdebug.remote_port=9100


XHProf 是 PHP 擴展,不過不建議從http://pecl.php.net/package/xhprof 
最好從https://github.com/phacility/xhprof 
https://github.com/tideways/php-xhprof-extension


https://github.com/luofei614/SocketLog https://www.oneapm.com
相關文章
相關標籤/搜索