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

Warning: PHP Startup: xhprof: Unable to initialize module #18

Closed
xcpschen opened this issue Nov 19, 2018 · 4 comments
Closed

Warning: PHP Startup: xhprof: Unable to initialize module #18

xcpschen opened this issue Nov 19, 2018 · 4 comments

Comments

@xcpschen
Copy link

mac ,php7.2.11 安装这个拓展后,出现这个提示。
Warning: PHP Startup: xhprof: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20170718
按你们给你的安装条件,我的php 应该是满足条件的,怎么回出现这个版本不匹配的提示。

@longxinH
Copy link
Owner

检查phpize 是否跟php版本一致

@xcpschen
Copy link
Author

phpize -v
Configuring for:
PHP Api Version: 20170718
Zend Module Api No: 20170718
Zend Extension Api No: 320170718

@longxinH
Copy link
Owner

你详细的安装步骤是怎样的?

@xcpschen
Copy link
Author

我找到原因了,我机器上有两个版本的php,由于配置问题,导致浏览器访问时转到另一个版本去。

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