In Windows 10 with PHP 8.0.2, attempts to load 3 different versions of xdebug all fail with Failed loading Zend extension 'php_xdebug-... Versions tried:
php_xdebug-2.9.8-7.3-vc15-x86_64.dll php_xdebug-3.0.3-8.0-vs16-x86_64.dll php_xdebug-3.1.1-8.0-vs16-x86_64.dll It made no difference if the file name was quoted or not, nor did including the path either as C:\\... or C:/...
What am I missing?
sample error message in apache error.log:
PHP Warning: Failed loading Zend extension 'php_xdebug-2.9.8-7.3-vc15-x86_64.dll' (tried: C:\\php\\ext\\php_xdebug-2.9.8-7.3-vc15-x86_64.dll (The specified module could not be found), C:\\php\\ext\\php_php_xdebug-2.9.8-7.3-vc15-x86_64.dll.dll (The specified module could not be found)) in Unknown on line 0
php.ini/xdebug:
[xdebug] zend_extension="php_xdebug-2.9.8-7.3-vc15-x86_64.dll" xdebug.mode=debug xdebug.client_host=localhost xdebug.client_port=9003 xdebug.idekey="netbeans-xdebug" Apache is Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.2
Windows is Windows NT GWB-10 10.0 build 19042 (Windows 10) AMD64
Reverting to PHP 7.x is not a real option
PHP version 8.0.2 is not supported on Windows due to missing exported symbols in zlib, upgrade to at least 8.0.7. Updated to 8.0.12 and xdebug loads. Thanks.