Zend Studiophp
安装Zend Debugger
http://downloads.zend.com/pdt/server-debuggerdebugger
下载zip解压缩。得到一个目录x_x_x_compx_x_x_nts_compxnts指non thread safephpinfophpthread safe
1ZendDebugger.dllphpphp/ext/
24php.ini
[Zend]
zend_extension_ts=C:/wamp/bin/php/php5.2.9-2/ZendDebugger.dll
;ts
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always
127.0.0.1IPweb
3dummy.phpapachedocument root
4apache
5.Zend StudioTools->preferences->debug
6.
“A timeout occurred when the debug server attempter to connect to the following client hosts/IPS”
php5.3thread safeXDebug
The Debugger we provide supports only the non-thread-safe architecture, that is why it does not load in your configuration.
Zend stopped supporting the thread safe architecture when Microsoft also decided to implement its PHP engine with the fast-cgi architecture which means non-thread-safe.
Best regards,
Massi.
任务:XDebug安装
http://xdebug.org/download.phpxdebug
php.ini
zend_extension_ts="php/ext/php_xdebug.dll" |
zend_extension="php/ext/php_xdebug.dll" |
apachephpinfo()xdebug
XDebug
php.ini
; | |
xdebug.auto_trace = On |
; | |
xdebug.show_exception_trace = On |
; | |
xdebug.remote_autostart = On |
; | |
xdebug.remote_enable = On |
; | |
xdebug.collect_vars = On |
; | |
xdebug.collect_return = On |
; | |
xdebug.collect_params = On |
xdebug.trace_output_dir="e:/xampp/temp" | |
xdebug.profiler_enable=On |
xdebug.profiler_output_dir=" e:/xampp/temp" | |
xdebug.remote_host=localhost | |
xdebug.remote_port=9000 |
xdebug.remote_handler=dbgp |
apache
转载请注明本文地址:Zend Studio下的PHP代码调试