Xdebug is necessary if you want to debug php website. Xdebug comes with a single dll file that is attached to Apache Webserver directory. It looks simple but it could be complicated in practical ways.
My notebook is running Windows 7 x64 and using Apache bundled with Xampp, so i download x64 bit of Xdebug, i didn’t realized this was wrong. Actually my Apache is x86 version so what i really needed is Xdebug x86 :)
Then what i did was copied my Xdebug dll file into C:\xampp\php\ext and then added this lines into php.ini file:
zend_extension="\xampp\php\ext\php_xdebug-2.1.1-5.3-vc6.dll" xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000
Here’s a screenshot produced by php_info() :
A trick to know what Xdebug version that suits Apache version is quite simple, go to this page http://xdebug.org/find-binary.php, ctrl+c and ctrl+v your html code of php_info() .