PHP xdebug configuration problem, crazy!!
My environment is: Apache 2.2.9 + PHP 5.2.6 + MySQL 5.1.28 under Windows XP
Open phpinfo.php does not show the configuration success information
I thought it was Xdebug's version, so I got a php_xdebug-2.1.1-5.3-vc6.dll,php_xdebug-2.0.2-5.2.5.dll,php_. Xdebug-2.1.1-5.3-vc6-nts.dll,php_xdebug-2.1.1-5.2-vc6-nts.dll these 4 versions, and repeated trials, there is a restart Apache server
Path:
The php.ini configuration is as follows:
[Zend]
; zend_extension_manager.optimizer_ts= "D:\Program files\zend\zendoptimizer-3.2.6\lib\optimizer-3.2.6"
; zend_extension_ts= "D:\Program Files\zend\zendoptimizer-3.2.6\lib\zendextensionmanager.dll"
zend_extension= "D:\Program Files\apache software Foundation\apache2.2\php_xdebug-2.1.1-5.3-vc6-nts.dll"
[Xdebug]
; whether to turn on automatic tracking
Xdebug.auto_trace = On
; whether to turn on exception tracking
Xdebug.show_exception_trace = On
; whether to turn on remote debugging auto-start
Xdebug.remote_autostart = On
; whether to turn on remote debugging
Xdebug.remote_enable = On
; Allow client IP to debug
Xdebug.remote_host=localhost
; Remote debugging port (default 9000)
xdebug.remote_port=9000
; Debug Plugin DBGP
Xdebug.remote_handler=dbgp
; whether to collect variables
Xdebug.collect_vars = On
; whether to collect return values
Xdebug.collect_return = On
, whether to collect parameters
Xdebug.collect_params = On
; Trace Output Path
Xdebug.trace_output_dir= "D:\Program Files\apache software Foundation\apache2.2\xdebug"
; Whether to open debug content
Xdebug.profiler_enable=on
; Debug Output path
Xdebug.profiler_output_dir= "D:\Program Files\apache software Foundation\apache2.2\xdebug"
It's been a long time and it's not good to get mad!! Let's see what the problem is!
------Solution--------------------
Paste in my configuration:
Zend_extension=d:\php5\ext\php_xdebug-2.1.1-5.3-vc9.dll
[Xdebug]
Xdebug.remote_enable=on
Xdebug.remote_handler=dbgp
Xdebug.remote_host=localhost
xdebug.remote_port=9000
Xdebug.auto_trace=on
Xdebug.profiler_enable=on
Xdebug.collect_return=on
Xdebug.show_local_vars=on
Xdebug.max_nesting_level=50
Xdebug.var_display_max_depth=6
Xdebug.dump_once=on
Xdebug.dump_globals=on
Xdebug.dump_undefined=on
xdebug.dmp.request=*
Xdebug.trace_output_dir=d:\debug
Xdebug.profiler_output_dir=d:\debug
------Solution--------------------
Check the PHP log to see if there is any error message
Extension_dir= "D:\php5\ext"
Extension=xdebug.dll
Plus try.
------Solution--------------------
Xdebug.default_enable = On