Download a compiled DLL from xdebug.org. Select the PHP version you are using and click the appropriate link in the Windows modules section in the right column of the page. As I write this, current version of xdebug is 2.03 and I use PHP 5.2.6 (part of WAMP).
Put the downloaded DLL into PHP's extension directory ext, which should be a subdirectory of your PHP directory. In my case C:\xampp\php\ext. You can put the DLL to any directory, provided that you state the full path to the DLL in php.ini.
Now that you have the xdebug extension ready you have to activate it in php.ini.
Add:
zend_extension_ts="C:/xampp/php/ext/php_xdebug-2.0.3-5.2.5.dll"Change path so that it fits your directory structure and extension name.
Don't forget to restart apache server.
Why use XDebug and quick start article.
UPDATE: although I've done everything by the book and apache succesfuly loads xdebug it doesn't work! After a while it crashes apache.
I've googled it and haven't found any solution to this problem. Please take a look at this thread for further info.
Email this
Hits: 5025
Comments (1)

Write comment


