刚刚朋友推荐了一个网站(http://newrelic.com/),测试安装一下:
过程:
0 1 2 3 4 5 6 7 8 9 |
[byrd@hz ~]$ sudo bash [root@hz tmp]# rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm #64位 centos系统 #sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm# 32位 centos系统 Retrieving http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm warning: /var/tmp/rpm-tmp.JwccLL: Header V3 DSA/SHA1 Signature, key ID 548c16bf: NOKEY Preparing... ########################################### [100%] 1:newrelic-repo ########################################### [100%] [root@hz tmp]# yum install newrelic-php5 -y [root@hz tmp]# newrelic-install install 在php.ini修改key #ewrelic.license="82dddb0063ded8bc" |
重新启动php、nginx!
如果info.php中有以下内容,恭喜你,it works!SourceByrd's Weblog-https://note.t4x.org/environment/php-execution-monitoring/
SourceByrd's Weblog-https://note.t4x.org/environment/php-execution-monitoring/SourceByrd's Weblog-https://note.t4x.org/environment/php-execution-monitoring/New Relic Version 4.18.0.89 ("corvid") ("cf5560777e849f") SourceByrd's Weblog-https://note.t4x.org/environment/php-execution-monitoring/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!