dongzhuanlei0768
dongzhuanlei0768
2010-07-02 09:26

在Wamp / Windows Vista上安装Zend Debugger

  • php
  • wamp
  • debugging
已采纳

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()
(source: thierryb.net)

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dongsheng8664 dongsheng8664 11年前

    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.

    点赞 评论 复制链接分享

为你推荐