Xdebug with PHP 5.2 on 64-bit Windows 7?
I would like to install Xdebug (http://xdebug.org/) on my 64 bit Windows 7 machine to debug Drupal code running on PHP 5.2. The Xdebug download page does not provide a download for a 64 bit version compatible with PHP 5.2.
Many Drupal modules are not compatible with PHP 5.3, so it is not an option to switch to a later v开发者_开发问答ersion of PHP.
What options exist for installing Xdebug in this environment? Is there another source for compiled versions or is there a work-around?
Download php-5.2.5-x64-2007-11-12.zip
from http://www.fusionxlan.com/PHPx64.php. In the ext\
folder there is a php_xdebug.dll
which should work on your Windows x64 machine. Add the reference to it in your php.ini like normal and it should work.
精彩评论