Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据为空 #13

Closed
Birjemin opened this issue Feb 3, 2018 · 4 comments
Closed

数据为空 #13

Birjemin opened this issue Feb 3, 2018 · 4 comments

Comments

@Birjemin
Copy link

Birjemin commented Feb 3, 2018

楼主好,我遇到的情况是:xhprof是有数据的,但是xhgui执行时间、CPU时间,内存占用等信息为空,但是请求地址不为空,PHP版本为PHP 7.0.14,xhprof、tideways_xhprof在phpinfo里面都有,请问又遇到过这种情况么???

@Birjemin
Copy link
Author

Birjemin commented Feb 3, 2018

tideways_xhprof扩展版本5.0.0,xhprof版本是1.1.0

@laynefyc
Copy link
Owner

laynefyc commented Feb 7, 2018

应该是PHP版本原因,PHP7建议你用tideways扩展。xhprof 扩展不支持PHP7

@laynefyc laynefyc closed this as completed Feb 7, 2018
@Birjemin
Copy link
Author

Birjemin commented Feb 7, 2018

已解决,虽然我装的是一个fork版本的xhprof( https://github.com/longxinH/xhprof ),支持php7,但是不支持xhgui调用xhprof(怀疑是不兼容),改成tideways就好了,不过mongodb的版本如果高于3.5,还会有问题( perftools/xhgui#221 ),按照这个方法修改一下就好了,感谢楼主的提示!

@laynefyc
Copy link
Owner

laynefyc commented Feb 8, 2018

可以提个pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants