【问题标题】:Installing Zend Debugger on Wamp/Windows Vista在 Wamp/Windows Vista 上安装 Zend 调试器
【发布时间】:2011-03-11 00:31:46
【问题描述】:

我正在尝试让 Zend Debugger 在我的 Windows Vista 上的 Wamp 服务器上运行。

以下是我遵循的步骤:

  1. http://downloads.zend.com/pdt/server-debugger/下载ZendDebugger-5.2.15-cygwin_nt-i386.zip
  2. 复制\ZendDebugger-5.2.15RC1-cygwin_nt-i386\5_2_x_nts_comp\ZendDebugger.dll 到c:\wamp\bin\php\php5.3.0\ext\ZendDebugger.dll
  3. 像这样编辑 php.ini(使用 phpinfo() 检查,我正在编辑正确的 php.ini):

    zend_extension_ts=C:\wamp\bin\php\php5.3.0\ext\ZendDebugger.dll zend_debugger.allow_hosts=127.0.0.1
    zend_debugger.expose_remotely=总是

  4. 重启 Apache

  5. 复制\ZendDebugger-5.2.15RC1-cygwin_nt-i386\dummy.php到c:\workspace\www\dummy.php
  6. 根据this post为PDT安装Zend Debugger插件

最后,当我通过 Run > Run Configurations > PHP Web Page > MyDebug > Test Debugger 测试调试器时,它显示“测试与客户端主机/IP 的通信:'localhost'... 然后这个:

调试服务器尝试连接到以下客户端主机/IP - localhost 时发生超时。

也没有任何关于 Zend Debugger 的注释,没有这样的:
(来源:thierryb.net

【问题讨论】:

标签: php debugging wamp zend-debugger


【解决方案1】:

你检查防火墙了吗?

如果调试器由 phpInfo 报告,您似乎设法安装了调试器...所以我猜您要么设置错误(localhost 或 127.0.0.1 可能会在设置对话框中产生影响)或防火墙停止交流。

【讨论】:

  • 防火墙现在已关闭,但我确实没有在 phpinfo() 中有 Zend Debugger 报告。
  • 对不起,我想我看错了你发布的截图:) 我虽然你已经安装了它。问题可能是版本之间的不兼容(例如 Zend Optimizer for PHP5.2 不适用于 PHP 5.3)。你查看过服务器日志吗?(我假设的 apache 服务器的日志)
  • 解决了! :) 我已经为 5.2.x 下载了 PHP 5.2.11 和 ZendDebugger.dll,突然就可以使用了。
猜你喜欢
  • 2011-07-21
  • 1970-01-01
  • 2021-06-06
  • 2010-10-31
  • 1970-01-01
  • 2014-08-02
  • 2016-09-23
  • 2023-03-27
  • 1970-01-01
相关资源
最近更新 更多