-
Notifications
You must be signed in to change notification settings - Fork 924
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
PHP7 support #73
Comments
Works for me, if I ensure that phpize and php-config from php7 are used +1 |
However testing it, it fails with a segfault: Program received signal SIGSEGV, Segmentation fault. |
I will check it tomorrow |
@LionsAd Would you mind show my your script that you want to profile? I pushed a patch, try to pull the newest code and rebuild. Be aware that include are currently not supported |
remove ignore support? |
Uhm, any script did trigger the segfault. |
@RustJason Thanks. All works for me. |
Make failed to run for me when I tried to install XHProf. Ubuntu 14.04.3 LTS
|
@RustJason it sounds like your fork has support, but there's no explanation on how to install xhprof from your git repo. |
@jklein I did not provider pecl install, you need to compile from source. I will update readme later |
Thanks @RustJason - using your README I was able to get XHProf compiled/installed. It looks like https://github.com/tideways/php-profiler-extension is a more up-to-date fork of XHProf, and they have an open PR that's looking to add PHP7 support. I might switch to that since it seems actively maintained. |
Just remind that you should checkout the PHP7 branch. |
Just tried building this on Ubuntu 16.04.2 LTS using: Make failed with this message:
|
@bhartvigsen I'm having the same issue at current. Did you ever find a solution to this? |
@peterfox no I'm sorry I did not, and in fact don't even remember what I was trying to build this package for in the first place! Good luck :) |
@bhartvigsen No problem, thanks for replying. For anyone reading I found https://github.com/tideways/php-profiler-extension worked fine as an alternative. |
…le-frees Nullify references once not used to prevent double-frees
Done.
https://github.com/Red-wolf-s-husband/xhprof/tree/php7
The text was updated successfully, but these errors were encountered: