XDebug 安装失败

发布于 2024-12-14 00:27:01 字数 483 浏览 2 评论 0原文

我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

超可爱的懒熊 2024-12-21 00:27:01

根据 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

此岸叶落 2024-12-21 00:27:01

尝试 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

捎一片雪花 2024-12-21 00:27:01

我通过从 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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文