在wampserver2.0中加载xdebug时出现问题
我在 apache 服务器中加载 xdebug 时遇到问题。
这是我的设置:
Apache 2.2.11 MySQL 5.1.36 PHP 5.2.0 视窗7 Wampserver 2.0
php -i 和 php -m 显示已安装 xdebug 模块 php_xdebug-2.1.0RC1-5.2-vc6.dll。
但是 phpinfo() 并不显示 xdebug 已安装。我尝试通过 Wampserver UI 将 apache 作为服务启动,并直接运行 httpd(以管理员身份),并且检查了 php_xdebug-2.1.0RC1-5.2-vc6.dll 文件的权限。
日志中没有警告。在 apache 错误日志中,我得到:
[Thu Jun 24 11:20:55 2010] [notice] Apache/2.2.11 (Win32) PHP/5.2.0 配置 - 恢复正常操作
有人有任何想法吗?
谢谢你,
约翰
I have an issue loading xdebug in apache server.
Here are my settings:
Apache 2.2.11
MySQL 5.1.36
PHP 5.2.0
Windows 7
Wampserver 2.0
php -i and php -m show that the xdebug module php_xdebug-2.1.0RC1-5.2-vc6.dll is installed.
However phpinfo() does not show that xdebug is installed. I have tried starting apache as a service, through the Wampserver UI, and by running httpd directly (as administrator) and I have checked permissions on the php_xdebug-2.1.0RC1-5.2-vc6.dll file.
There are no warnings in the logs. In the apache error log I get:
[Thu Jun 24 11:20:55 2010] [notice] Apache/2.2.11 (Win32) PHP/5.2.0 configured -- resuming normal operations
Has anyone any ideas?
Thank you,
John
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我已经按照你说的做了,但什么也没发生
使用 WAMPSERVER 2.1 , php_xdebug-2.1.0-5.3-vc6.dll (但是我将其重命名为 php_xdebug.dll )
在 php.ini 中,我也按照说明进行了修改
再次启动服务器后,Apache 日志中没有错误,一切正常看起来工作正常。仍然没有从 phpinfo 中看到任何有关 xdebug 的信息。我完全放弃了:(
对我的案例有任何想法,表示赞赏。
I already do like you said but nothing happens
Using WAMPSERVER 2.1 , php_xdebug-2.1.0-5.3-vc6.dll (however I renamed it becoming php_xdebug.dll)
In php.ini, I also modified as instructions
After starting the server again, there are no error in Apache log, everything seems work normal.Still do not see any information about xdebug from phpinfo. I totally gave up :(
Any ideas for my case, appreciated that.
我解决了我的问题,因为我使用 wampserver2.0 并天真地假设我可以使用 c:\wamp\bin\php\php{version#}\php.ini 来影响我的配置。
事实上,必须使用 c:\wamp\apache\Apache{version#}\bin\php.ini 在 wamp 服务器上配置 php。
希望这能帮助那些有一天可能会为此烦恼的人。
约翰
I solved my issue as I was using wampserver2.0 and naively assumed I could use c:\wamp\bin\php\php{version#}\php.ini to affect my configuration.
In actual fact one must use c:\wamp\apache\Apache{version#}\bin\php.ini to configure php on the wamp server.
Hope this helps anyone else who might one day tear their hair out over this.
John