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

phpng-xhprof run error after compiled #2

Closed
javacty opened this issue Oct 23, 2015 · 2 comments
Closed

phpng-xhprof run error after compiled #2

javacty opened this issue Oct 23, 2015 · 2 comments

Comments

@javacty
Copy link

javacty commented Oct 23, 2015

php version:
PHP 7.1.0-dev (cli) (built: Oct 22 2015 09:42:21) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies

I had compiled xhprof.so, but when I test:
php -i | grep xhprof:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20151012/xhprof.so' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20151012/xhprof.so: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20151012/xhprof.so' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20151012/xhprof.so: cannot open shared object file: No such file or directory in Unknown on line 0

@yaoguais
Copy link
Owner

see readme,and try again.it is phpng_xhprof.so not xhprof.so.
[xhprof]
extension = phpng_xhprof.so
xhprof.output_dir = /tmp/xhprof

@javacty
Copy link
Author

javacty commented Oct 27, 2015

thanks very much !
:P

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