1. 安装AppServ
2. 配置eclipse下的php开发环境:
http://www.cnblogs.com/sayo/archive/2008/09/10/1288366.html
3. 下载xdebug:
http://www.phpfreaks.com/forums/index.php?topic=292062.0
4. 配置xdebug:
http://www.cnblogs.com/sekihin/archive/2009/05/26/1489532.html
注意,在配置xdebug的时候,下面这段配置信息应该是在"C:/windows/php.ini"下面,因为AppServ在安装的时候,是要在windows下注册的
[Xdebug]
zend_extension_ts="D:/AppServ/php5/ext/php_xdebug-2.0.4-5.2.8.dll"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.auto_trace = 1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.idekey=default
xdebug.profiler_enable_trigger = 1