View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001693||Xdebug||Profiling||public||2019-08-08 12:50||2019-08-09 16:15|
|Status||resolved||Resolution||no change required|
|Target Version||Fixed in Version|
|Summary||0001693: profiler_aggregate setting not supported in XDEBUG_CONFIG environment variable|
|Description||The documentation states that |
"All settings that you can set through the XDEBUG_CONFIG setting can also be set with normal php.ini settings." (https://xdebug.org/docs/remote)
However, including profiler_aggregate=1 in that environment variable does not enable the setting. I am only able to enable it via php.ini
|Steps To Reproduce||Try setting XDEBUG_CONFIG="profiler_aggregate=1"|
and looking at phpinfo() output - vs when you set it in php.ini
|Tags||No tags attached.|
Although it says "All settings that you can set through the XDEBUG_CONFIG setting can also be set with normal php.ini settings.", it does not say that the opposite (that all settings that you can set in php.ini can also be set through XDEBUG_CONFIG). Xdebug has many more settings (https://github.com/xdebug/xdebug/blob/master/xdebug.c#L337) than that are available through the environment variable (https://github.com/xdebug/xdebug/blob/master/xdebug.c#L568).
As I am not intending to duplicate the full php.ini settings into the environment variables, I am closing this issue as "works as expected".