can't install XDEBUG on windows?

my php version is PHP Version 5.3.6.

Xdebug setting in php.ini:



xdebug.auto_trace = On
xdebug.show_exception_trace = On
xdebug.remote_autostart = On
xdebug.collect_vars = On
xdebug.collect_return = On
xdebug.collect_params = On

i have installed PHP 5.3 VC6 (32 bit)/ PHP 5.3 VC9 (32 bit). they are both failed.

when typed “php –ini” on cmd . it shows:
enter image description here

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

in order to find the correct binary to use, please follow the instructions at


Solution 2

Instead of attempting to mix ‘n match modules, try a stock download from Apache Friends.

XAMPP comes with xdebug right out of the box.

Solution 3

Looks like you just need to download the correct version of xdebug for your version of Windows / PHP. There are VC9 builds here, just select the appropriate one for 32 or 64 bit.

Solution 4


You can check the above link and install xdebugger in sublime 3 with wamp server easily.

Solution 5

If you don’t use Xamp.

  1. Download windows binary corresponding your php version:
  2. (optional) move downloaded file (php_xdebug…….dll in common location and rename it: for example xdebug.dll in C:\phpextensions\
  3. Run php --ini in cmd to know where is the php.ini file (p.ex: C:\php\php.ini)
  4. Edit C:\phpextensions\xdebug.dll and add following line:
zend_extension = C:\globally\debug.dll
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_autostart = 1
xdebug.remote_port = 9000
xdebug.show_local_vars = 1

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply