问题描述
我试图让Zend Debugger在Windows Vista上的Wamp服务器上运行。
以下是我遇到的步骤:
- 从
- 复制\ZendDebugger- 5.2.15RC1-cygwin_nt-i386\5_2_x_nts_comp\ZendDebugger.dll到c:\wamp\bin\php\php5.3.0\ext\ZendDebugger.dll
-
编辑php.ini(使用phpinfo()检查,我正在编辑php.ini):
-
重新启动Apache
- 复制\ZendDebugger-5.2.15RC1 -cygwin_nt-i386\dum my.php to c:\workspace\www\dummy.php
- 根据为PDT安装Zend Debugger插件
最后,当我通过运行>运行配置> PHP网页> MyDebug>测试调试器测试调试器时,它说测试与客户端主机/ IP的通信:'localhost'...然后这样:
当调试服务器尝试连接到以下客户端主机/ IP - localhost时出现超时。
也没有任何关于Zend Debugger的注意事项,没有这样的:
看起来像你设法安装调试器,如果它由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:
- Download ZendDebugger-5.2.15-cygwin_nt-i386.zip from http://downloads.zend.com/pdt/server-debugger/
- 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
Edit php.ini (checked using phpinfo(), that I'm editing right php.ini) like this:
Restart Apache
- Copy \ZendDebugger-5.2.15RC1-cygwin_nt-i386\dummy.php to c:\workspace\www\dummy.php
- 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!