问题
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:
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=alwaysRestart 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:
(source: thierryb.net)
回答1:
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.
来源:https://stackoverflow.com/questions/3164529/installing-zend-debugger-on-wamp-windows-vista