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
相关文章
相关标签/搜索