View Issue Details

IDProjectCategoryView StatusLast Update
0002248XdebugInstallationpublic2024-05-06 10:23
ReporterMindaugas3 Assigned Toderick  
Status feedbackResolutionopen 
OSMicrosoft Windows 10 ProOS Version10.0.19045 Build 
Product Version3.3.1 
Summary0002248: Failed loading C:\tools\php82\ext\php_xdebug.dll

Xdebug installed: no
Server API: Command Line Interface
Windows: yes
Compiler: MS VS16
Architecture: x64
Zend Server: no
PHP Version: 8.2.10
Zend API nr: 420220829
PHP API nr: 20220829
Debug Build: no
Thread Safe Build: no
OPcache Loaded: no
Extensions directory: ext
Download php_xdebug-3.3.1-8.2-vs16-nts-x86_64.dll
Move the downloaded file to ext, and rename it to php_xdebug.dll
Update C:\tools\php82\php.ini and add the line:
zend_extension = xdebug

I installed xdebug using the wizard, and I also tried absolute path (zend_extension = C:\tools\php82\ext\php_xdebug.dll) because if I use xdebug it will throw an error that file is not found. When I use an absolute path, it just fails to load. I can verify that by running php -v.

php -v
Failed loading C:\tools\php82\ext\php_xdebug.dll
PHP 8.2.10 (cli) (built: Aug 30 2023 09:46:43) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.2.10, Copyright (c) Zend Technologies
with Zend OPcache v8.2.10, Copyright (c), by Zend Technologies

Steps To Reproduce
  • Install binary for PHP 8.2
  • Install xdebug with wizard (as given in description)
  • Run php (any command works)
Tagswindows, xdebug, zend
Operating SystemWindows 10
PHP Version8.2.0-8.2.9



2024-03-07 18:46

reporter   ~0006860

How do I get more verbose error output? This error "failed loading" says absolutely nothing at all. Also, OPCache Zend extension loads properly.


2024-04-15 13:53

administrator   ~0006912

This is odd. Is it possible that the DLL wasn't properly downloaded? Could you check with the SHA256 whether it matches with your downloaded version?

The value should be ef1a6d394d4c8912bd095185fa3c86508bfa8ffdc4dd3d296d7da5ce6286f5e8 --- and the tool for windows to run on the command line (cmd.exe) should be:

certutil -hashfile C:\tools\php82\ext\php_xdebug.dll SHA256


2024-05-06 10:23

administrator   ~0006933

Can you provide the requested feedback please?

Issue History

Date Modified Username Field Change
2024-03-07 18:45 Mindaugas3 New Issue
2024-03-07 18:45 Mindaugas3 Tag Attached: windows
2024-03-07 18:45 Mindaugas3 Tag Attached: xdebug
2024-03-07 18:45 Mindaugas3 Tag Attached: zend
2024-03-07 18:46 Mindaugas3 Note Added: 0006860
2024-04-15 13:53 derick Assigned To => derick
2024-04-15 13:53 derick Status new => feedback
2024-04-15 13:53 derick Note Added: 0006912
2024-05-06 10:23 derick Note Added: 0006933