No xdebug in phpinfo()

check the top of the output of

php -m

for me it showed an error in php.ini, after solving that xdebug was loaded.


zend_extension = C:\PROGRA~1\PHP5\ext\php_xdebug-2.1.0-5.3-vc9.dll

should be replaced by

zend_extension="C:\PROGRA~1\PHP5\ext\php_xdebug-2.1.0-5.3-vc9.dll"

P.S. Will e-mail xdebug guys.


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"

This worked for me (vscode, xampp) Go to https://xdebug.org/wizard.php and paste the contents of phpinfo()

Then download the right xdebug.dll and place it in your 'ext' folder.

Add the following to your php.ini

[XDebug]
zend_extension="php_xdebug-2.5.4-7.0-vc14.dll"
xdebug.remote_enable=1
xdebug.remote_autostart=1

Tags:

Php

Xdebug