md_xhprof
Wei xhprofSheng Ji Ban ,Yu PHP7Pei He Shi Yong
#Shi Yong Shi Xu Yao She Zhi Huan Jing Bian Liang
export USE_ZEND_DTRACE=1
An Zhuang
# Kuai Su An Zhuang
curl -fsSL https://raw.githubusercontent.com/midoks/md_xhprof/master/sc ripts/install.sh | sh
cd ~~/md_xhprof/src
$DIR/php/$PHP_VER/bin/phpize
./configure \
--with-php-config=~~/php7/bin/php-config --enable-debug
make && make install
Shi Yong Fang Fa Ji Yuan Yin
- PHP7Bian Yi Shi Yao Shi Yong (--enable-dtrace)
Diao Shi
- export USE_ZEND_ALLOC=0 #Guan Bi Nei Cun Guan Li
- export USE_ZEND_DTRACE=1 #Kai Qi DTRACEDiao Shi
- yum install valgrind
- valgrind --leak-check=full php leak.php
- php -dvld.active=1 leak.php
Xiang Guan
PHPJi Cheng Huan Jing (mac),Yi Jing Ji Cheng
https://github.com/midoks/mdserver-mac
PHPJi Cheng Huan Jing (win)
https://github.com/midoks/MDserver_64
Windows Xhprof(Guan Fang De You Wen Ti )