Home

how to install xdebug under windows

E-mail Print
Share/Save/Bookmark
The Xdebug extension helps you debugging your script by providing a lot of valuable debug information.

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.
Hits: 5025
Comments (1)Add Comment
April 01, 2009     
You are just repeating the installation instructions from the xdebug website.
no extra insights or anything
fritz | 80.254.147.84

Write comment

busy
Last Updated ( Wednesday, 23 July 2008 15:39 )  

Sponsored Links

My friends

Bookingpoint
partner websites

Donate

Do you find content useful? Please donate so I can cover my hosting expenses! Thanks!