ARTICLE AD BOX
Because the wizard isn't that smart and doesn't recognize that path as the xdebug extension.
6,63113 gold badges114 silver badges112 bronze badges
You don't need to add zend_extension = xdebug, if your current full path line is already working.
In PHP, extensions come in two types
extension = ... -> normal PHP extensions zend_extension = ... -> Zend Engine extensions (low level hooks into the PHP engine)Xdebug is a Zend extension, so it must be loaded using zend_extension, not extension.
What you have is correct. According to the doc, Xdebug must be loaded after OPCache. So make sure this is in order
zend_extension=opcache zend_extension="D:\...\php_xdebug.dll"Why does the wizard suggest it
The Xdebug Installation Wizard gives generic advice, assuming you might install via package manager or PHP already knows where Xdebug is located
So it suggests zend_extension = xdebug
That only works if The DLL/SO is in PHP's default extension directory and PHP can resolve it automatically
Explore related questions
See similar questions with these tags.
