help install xdebug on php 5.6.0 OR 5.6.1

I'm running PHP on iis and my device is running on 64 bit, and i cant seem to find xdebug installed in php 5.6++, i tried following the steps in the internet but
the compiler says

"Connection xdebug was not established"

and heres what i found on the console

Failed loading C:\Program Files (x86)\IIS Express\PHP\v5.6\ext\php_xdebug-2.2.5-5.6-vc11-nts-x86_64.dll

these are the settings:

and in the php ini

zend_extension="C:\Program Files (x86)\IIS Express\PHP\v5.6\ext\php_xdebug-2.2.5-5.6-vc11-nts-x86_64.dll"

and already enabled the xdebug.dll in php manager.

can you please help me?
Comment actions Permalink

Hi there,

1) You are tyring to use x64 version of xdebug. Is your PHP is x64 bit as well? Double check it.

2) Why are you trying to load xdebug twice?

3) xdebug can only be loaded via "zend_extension" instruction and not ordinary "extension". RTFM?

You can check if xdebug is loaded or not by checking output of phpinfo(); (same as "php -i" in console)

Comment actions Permalink

1. ok, the the php is running from 32 bit i just download it from the "Web Platform Installer"

"C:\Program Files (x86)\IIS Express\PHP\v5.6\ext\php_xdebug-2.2.5-5.6-vc11-nts-x86_64.dll"

so i research also this part "C:\Program Files (x86)" so it means that my laptop could run a 32 bit program

here's the link ->

thats why i installed it there.


i get the version and fix the bug
by pasting my phpinfo() here ->

i dont see errors again.

but when i put breakpoint, click php debug connection then click the browser it still never work.

Comment actions Permalink
but when i put breakpoint, click php debug connection then click the browser it still never work.

Yeah... lots of details indeed.

Unfortunately I left my "read-person's-mind-and-guess-the-problem-details" helmet in service server for some maintenance work .. so I may only suggest these links:

Advice: start with debugging simple CLI script first. Once debug is working -- do it for web pages.

Comment actions Permalink

it already work, i only need now, is whenever i click the browser it will start to trigger the breakpoint,

thanks man i appreciate your help!

Comment actions Permalink

The last 2 links pointing to tutorials. They should be enough to make it working, especially if server is local (same computer where PhpStorm is running).


Please sign in to leave a comment.