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:
settings.PNG

and in the php ini

[PHP_XDEBUG-2.2.5-5.6-VC11-NTS-X86_64]
zend_extension="C:\Program Files (x86)\IIS Express\PHP\v5.6\ext\php_xdebug-2.2.5-5.6-vc11-nts-x86_64.dll"
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
[PHP_XDEBUG-2.2.5-5.6-VC11-NTS-X86_64]
extension=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?
5 comments
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)

0
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 -> http://discussions.virtualdr.com/showthread.php?256529-does-x86-mean-32-bit

thats why i installed it there.



anyway..

i get the version and fix the bug
by pasting my phpinfo() here -> http://xdebug.org/wizard.php

i dont see errors again.

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

0
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.

0
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!

0
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).

0

Please sign in to leave a comment.