View Issue Details

IDProjectCategoryView StatusLast Update
0001748XdebugInstallationpublic2020-03-07 18:57
ReportercraigbuxtonAssigned Toderick 
PriorityhighSeveritymajorReproducibilityN/A
Status resolvedResolutionno change required 
Platformx64OSWindows 10OS Version10.0.18262
Product Version2.9.2 
Target VersionFixed in Version 
Summary0001748: Failed loading C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll
DescriptionI have used the Xdebug wizard to implement module.
I am running PHP Version 7.4.1RC1
I am using Apache 2.4.41 win64 VS16
I added php_xdebug-2.9.2-7.4-vc15-x86_64.dll to C:\php\ext dir
I updated php.ini with:
[XDebug]
zend_extension=C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll
xdebug.remote_enable=true
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
I restarted Apache
I don't see Xdebug in phpinfo
I see this error in Apache: log Failed loading C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll
Steps To ReproduceNot sure
Additional InformationThings I have tried:
Using:
   zend_extension="C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll"
   zend_extension=php_xdebug-2.9.2-7.4-vc15-x86_64.dll
I ensured I was editing correct php.ini file
I checked permissions on dll.
Googled the hell out of it...
TagsNo tags attached.
Operating SystemWindows 10
PHP Version7.4.0-7.4.4

Activities

derick

2020-02-27 17:06

administrator   ~0005263

Your problem is right here:

I am using Apache 2.4.41 win64 VS16
I added php_xdebug-2.9.2-7.4-vc15-x86_64.dll

Xdebug is compiled for VC15, and your Apache (and likely PHP?) is compiled for VC16. These numbers need to match.
If your PHP is VC16, then I don't know how the wizard could have gotten you to a file, as it checks for this constraint.

As this is not a **bug** in Xdebug, I am closing this issue. Please use StackOverflow with the "xdebug" tag for support.

craigbuxton

2020-03-05 16:24

reporter   ~0005271

Thanks for the reply. I am now using:
- Apache/2.4.41 (Win64) VC 15
- php-7.4.1RC1-Win32-vc15-x64
- php_xdebug-2.9.2-7.4-vc15-x86_64.dll

I still get this error in Apache log: Failed loading C:\php\ext\php_xdebug-2.9.2-7.4-vc15-x86_64.dll

Any help you could provide would be appreciated. I will post to StackOverflow as well.

craigbuxton

2020-03-07 18:57

reporter   ~0005280

Solved! After running out of things to try, I re-downloaded php_xdebug-2.9.2-7.4-vc15-x86_64.dll and noticed that the file size changed from 234kb to 266kb. Restarted Apache and all is well.

craigbuxton

2020-03-07 18:57

reporter   ~0005281

Solved! After running out of things to try, I re-downloaded php_xdebug-2.9.2-7.4-vc15-x86_64.dll and noticed that the file size changed from 234kb to 266kb. Restarted Apache and all is well.

Issue History

Date Modified Username Field Change
2020-02-18 23:38 craigbuxton New Issue
2020-02-27 17:06 derick Assigned To => derick
2020-02-27 17:06 derick Status new => resolved
2020-02-27 17:06 derick Resolution open => no change required
2020-02-27 17:06 derick Note Added: 0005263
2020-03-05 16:24 craigbuxton Note Added: 0005271
2020-03-07 18:57 craigbuxton Note Added: 0005280
2020-03-07 18:57 craigbuxton Note Added: 0005281