xhprof 安装

[root@localhost hooks]# pecl install xhprof

Failed to download pecl/xhprof within preferred state "stable", latest release is version 0.9.4, stability "beta", use "channel://pecl.php.net/xhprof-0.9.4" to install

sudo pecl install channel://pecl.php.net/xhprof-0.9.4

extension=xhprof.so

如果出现 phpize Can't find PHP headers in /usr/include/php

参考:

http://stackoverflow.com/questions/20827704/phpize-cant-find-php-headers-in-usr-include-php

https://segmentfault.com/a/1190000003509917

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容