XDebug 安装失败
我正在尝试使用 Win 7、Apache 2、PHP 5.3.6 TS VC9 版本在本地计算机上安装 XDebug(服务器手动安装,无软件包)。我已按照 http://xdebug.org/find-binary.php 中的说明进行操作: 我已经下载了 dll,移动到带有其他扩展的目录,将以下代码添加到 C:\Windows\php.ini,重新启动服务器,并且 - 与我的预期相反 - xdebug 既没有安装也没有列在 phpinfo 页面中。
zend_extension="E:\www\server\php\ext\php_xdebug-2.1.2-5.3-vc9.dll"
尽管我已经多次浏览我的 phpinfo 和 XDebug 站点,但我仍然不知道是什么导致了这个问题。您对如何让 XDebug 工作有什么建议吗?
谢谢
I'm trying to install XDebug on my local machine with Win 7, Apache 2, PHP 5.3.6 TS VC9 build (server manually installed, no package). I've followed instructions at http://xdebug.org/find-binary.php:
I've downloaded dll, moved to dir with other extensions, added following code to C:\Windows\php.ini, restarted server and - in contrary to my expectations - xdebug is neither installed nor listed in phpinfo page.
zend_extension="E:\www\server\php\ext\php_xdebug-2.1.2-5.3-vc9.dll"
Altough I've gone trough my phpinfo and XDebug site several times I still have no idea what can cause this problem. Do you have any suggestions how to get XDebug working please?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据 netbeans 手册,您必须将 xdebug 配置文件添加到 apache php ini 目录,而不是本地 php ini 目录,才能使其与任何类型的 wamp 一起使用。
1) http://wiki.netbeans.org/HowToConfigureXDebug
2)wamp的定义:http://en.wikipedia.org/wiki/WAMP
According to netbeans manual you have to add the xdebug configuration file to the apache php ini directory and not the local php ini directory to make it work with anykind of wamp.
1) http://wiki.netbeans.org/HowToConfigureXDebug
2) Definition of wamp: http://en.wikipedia.org/wiki/WAMP
尝试 zend_extension**_ts**=...
然后在控制台中启动 php -m 来查看其中的内容。无需重新启动服务器
try zend_extension**_ts**=...
and the in a console fire php -m to see whats in. No need to restart server
我通过从 5.3.6 更新到 5.3.8“解决”了该问题。我不知道问题出在哪里,但是更新一下就可以正常工作了。 (我使用http://xdebug.org/find-binary.php)
I "solved" the problem by updating from 5.3.6 to 5.3.8. I dont know where the problem was, but update and it will work fine. (I used http://xdebug.org/find-binary.php)