I have added following lines into php.ini
[XDebug]
zend_extension = C:\\PROGRA~1\\PHP5\\ext\\php_xdebug-2.1.0-5.3-vc9.dll
xdebug.remote_enable=on
xdebug.remo
Its happen because of permission. you have to add the permission of that specific app/user profile from the folder's Properties Security tab.
I use PHP with IIS server so. It worked for me by adding IIS_USER in security permission.
You can follow this tutorial on getting started with xdebug : http://devzone.zend.com/article/2803-Introducing-xdebug
Xdebug and ZendDebug are two separate debuggers, it's up to you to decide which one to use. Either one is pretty easy to setup. Only a couple of steps in Eclipse.
Post the content from your php info page into this page to find out which version to download : http://www.xdebug.org/find-binary.php
Writing in January 2019, I found that following the Xdebug Wizard at Xdebug wizard here
exactly, including using their download link to the correct version of Xdebug for your version of PHP and copying the line to insert on your php ini exactly as is, got Xdebug appearing in phpInfo for me. I was installing into Laragon . Running php -m from the command line gave a good confirmation of all being well, with Xdebug loading as a Zend Extension. Usual gotchas about needing to restart server etc apply.
In my case the issue was the file path which apache loaded, the file php.ini I changed is not the current loaded config, so check it First.
I just had the same problem, nothing of this worked for me. I started php in the console and I saw, php was unable to load the dll from the given path. The solution for me was to omit the path information and only load it like this:
zend_extension="php_xdebug-2.2.5-5.5-vc11.dll"