怎样在phpeclipse中像调试Java程序一样调试php呢?
XDebug的版本号非常多,打开http://xdebug.org/index.php。把站点细致看一下,你会发现有句“If you don't know which one you need, please refer to the custom installation instructions.”,非常好。打开这个页面,依照要求将phpinfo()的内容copy & paste到form里面,然后按一下“Analyse
my phpinfo() output”,页面就会抽取你提交的内容中的指定部分。形成一个类似以下的Instruction:
1. Download php_xdebug-2.2.0-5.3-vc9.dll
2. Move the downloaded file to D:xamppphpext
3. Update D:amppphpphp.ini and change the line
zend_extension = D:xamppphpextphp_xdebug-2.2.0-5.3-vc9.dll
4. Restart the webserver
写一个test.php。内容为<?php phpinfo(); ?>,假设输出的内容中有看到xdebug,说明安装配置成功