在Wamp / Windows Vista上安装Zend Debugger [英] Installing Zend Debugger on Wamp/Windows Vista

查看:225
本文介绍了在Wamp / Windows Vista上安装Zend Debugger的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



以下是我遇到的步骤:


  1. ZendDebugger-5.2.15-cygwin_nt-i386.zip pdt / server-debugger /rel =nofollow noreferrer> http://downloads.z​​end.com/pdt/server-debugger/

  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 = always



  4. 重新启动Apache


  5. 复制\ZendDebugger-5.2.15RC1 -cygwin_nt-i386\dum my.php to c:\workspace\www\dummy.php

  6. 根据这篇文章为PDT安装Zend Debugger插件

最后,当我通过运行>运行配置> PHP网页> MyDebug>测试调试器测试调试器时,它说测试与客户端主机/ IP的通信:'localhost'...然后这样:



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



也没有任何关于Zend Debugger的注意事项,没有这样的:
Zend Debugger在phpinfo()http://www.thierryb.net/pdtwiki/images/a/a9/Phpinfo_zenddbg_section_01.png

解决方案

看起来像你设法安装调试器,如果它由phpInfo报告...所以我猜你要么把错误的设置(localhost或127.0.0.1可能会对设置对话框产生影响)或防火墙停止通信。


I'm trying to make Zend Debugger run on my Wamp server on Windows Vista.

Here are steps, which I folowed:

  1. Download ZendDebugger-5.2.15-cygwin_nt-i386.zip from http://downloads.zend.com/pdt/server-debugger/
  2. Copy \ZendDebugger-5.2.15RC1-cygwin_nt-i386\5_2_x_nts_comp\ZendDebugger.dll to c:\wamp\bin\php\php5.3.0\ext\ZendDebugger.dll
  3. Edit php.ini (checked using phpinfo(), that I'm editing right php.ini) like this:

    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=always

  4. Restart Apache

  5. Copy \ZendDebugger-5.2.15RC1-cygwin_nt-i386\dummy.php to c:\workspace\www\dummy.php
  6. According this post install Zend Debugger plugin for PDT

Finally when I test the debugger by Run > Run Configurations > PHP Web Page > MyDebug > Test Debugger it says "Testing communication with client host/IP: 'localhost'... and then this:

A timeout occured when the debug server attempted to connect to the following client hosts/IPs - localhost.

Also there is not any note about Zend Debugger, there's nothing like this: Zend Debugger in phpinfo() http://www.thierryb.net/pdtwiki/images/a/a9/Phpinfo_zenddbg_section_01.png

解决方案

Did you checked the firewall?

Seems like you managed to install the debugger if its reported by phpInfo... so i'm guessing that you either put the wrong settings(localhost or 127.0.0.1 might make a difference in the settings dialog) or a firewall stopping the communication.

这篇关于在Wamp / Windows Vista上安装Zend Debugger的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆