View Issue Details

IDProjectCategoryView StatusLast Update
0001704XdebugInstallationpublic2019-09-20 06:35
Reportermlocati Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSWindowsOS Version10
Product Version2.8.0beta2 
Summary0001704: Xdebug requires Zend Engine API version 320190529
Description

I think that xdebug 2.8.0beta2 has been combiled when for PHP 7.4 had 320190529 as the value of ZEND_EXTENSION_API_NO.

Since PHP 7.4RC1 this value changed to 320190902 (see https://github.com/php/php-src/blob/php-7.4.0RC1/Zend/zend_extensions.h#L47 and https://github.com/php/php-src/commit/c739023a50876e2a90588f915803b0140a95638e#diff-dedab46fcb140215209ecd13908244d4 ), so when we have this error when enabling xdebug:

Xdebug requires Zend Engine API version 320190529

Steps To Reproduce

Install xdebug 2.8.0beta2 in PHP 7.4RC1 or 7.4RC2, and run "php -v"

TagsNo tags attached.
Operating System
PHP Version7.4-dev

Activities

mlocati

2019-09-19 15:39

reporter   ~0005148

I think that xdebug 2.8.0beta2 has been combiled when for PHP 7.4 had 320190529 as the value of ZEND_EXTENSION_API_NO.

Sorry, my English is a bit better than that... I should have written this:

I think that xdebug 2.8.0beta2 has been compiled against PHP 7.4 when the value of ZEND_EXTENSION_API_NO was 320190529.

derick

2019-09-19 17:19

administrator   ~0005149

Is this about the Windows binaries from xdebug.org? If so, you're definitely right. This should sort itself when I release a new version — in the meanwhile, you can pick a binary from: https://ci.appveyor.com/project/derickr/xdebug/builds/27473879

derick

2019-09-19 17:21

administrator   ~0005150

FWIW, I kicked off a new build at https://ci.appveyor.com/project/derickr/xdebug/builds/27530454 — the 2.8.0beta2 binaries, that will work with 7.4.0RC2.

derick

2019-09-19 23:48

administrator   ~0005152

These new binaries should now be on the Xdebug download page.

mlocati

2019-09-20 06:35

reporter   ~0005153

Yep, it work now! Thanks for the quick fix!!

Issue History

Date Modified Username Field Change
2019-09-19 15:33 mlocati New Issue
2019-09-19 15:39 mlocati Note Added: 0005148
2019-09-19 17:19 derick Assigned To => derick
2019-09-19 17:19 derick Status new => feedback
2019-09-19 17:19 derick Note Added: 0005149
2019-09-19 17:21 derick Note Added: 0005150
2019-09-19 23:48 derick Status feedback => resolved
2019-09-19 23:48 derick Resolution open => fixed
2019-09-19 23:48 derick Note Added: 0005152
2019-09-20 06:35 mlocati Note Added: 0005153