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 |
Reporter | jamescrowley | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 2.7.2 | ||||
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. | ||||
Operating System | |||||
PHP Version | 7.3.5-7.3.9 | ||||
|
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". |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-08 12:50 | jamescrowley | New Issue | |
2019-08-09 16:15 | derick | Assigned To | => derick |
2019-08-09 16:15 | derick | Status | new => resolved |
2019-08-09 16:15 | derick | Resolution | open => no change required |
2019-08-09 16:15 | derick | Note Added: 0005112 |