View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001924||Xdebug||Installation||public||2020-12-28 12:18||2020-12-30 16:37|
|Fixed in Version||3.0.2|
|Summary||0001924: Deprecated INI settings displayed in phpinfo()|
I want to upgrade my PHPUnit docker image from XDebug 2.9 to 3.0 because I want to use PHP8.
This is the code of my Dockerfile:
RUN set -ex; \
use the mlocati/docker-php-extension-installer to install necessary packages and php extensions
the installer cleans up all dev packages which were only used for compiling
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
install composer (needed for PHPUnit updates)
RUN set -ex; \
modify xdebug.ini to reflect php version (replaced by the 'docker-php-ext-enable imagick' command, but still
a pretty nice command to my mind)
COPY xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
Whenever I enable XDebug a lot of "default" options are set even if they don't appear in any .ini file.
Directive => Local Value => Master Value
This is the code of my xdebug.ini
; do NOT use the incoming IP address to connect back
; save detailed information in a log file
I have no idea where these options come from and if they are blocking anything. They appear as soon as the extension is loaded.
|Tags||No tags attached.|
Sorry for the messy format. The tags doesn't seem to work like proposed in Mantis wiki (or I did something wrong).
These settings aren't really set. Their default value is this long string to indicate that these have been renamed or removed in Xdebug 3. It is purely a display issue which I'm hoping to alleviate with https://github.com/xdebug/xdebug/pull/713
The entries will be fully removed in Xdebug 3.1, but they're here now to help migration from Xdebug 2 to 3.
|2020-12-28 12:18||spigandromeda||New Issue|
|2020-12-28 12:20||spigandromeda||Note Added: 0005620|
|2020-12-30 11:57||derick||Description Updated|
|2020-12-30 12:05||derick||Description Updated|
|2020-12-30 12:06||derick||Summary||Deprecated XDebug 2.9 options unexpectedly set withoug ini entries => Deprecated INI settings displayed in phpinfo()|
|2020-12-30 12:08||derick||Assigned To||=> derick|
|2020-12-30 12:08||derick||Status||new => assigned|
|2020-12-30 12:08||derick||Note Added: 0005622|
|2020-12-30 16:37||derick||Status||assigned => closed|
|2020-12-30 16:37||derick||Resolution||open => fixed|
|2020-12-30 16:37||derick||Fixed in Version||=> 3.0.2|