[php-src] Issue #11075: fpm: Show pool configuration file name in phpinfo()
| From: | stollr | Date: | Fri, 14 Apr 2023 12:19:50 +0000 |
| Subject: | [php-src] Issue #11075: fpm: Show pool configuration file name in phpinfo() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244197@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11075
Author: stollr
### Description
If PHP is running per FPM several settings can be overwritten in the pool config file. For example
```
[www]
php_admin_value[memory_limit] = 512M
```
In complex architectures this sometimes make it harder to find in which file the configuration comes
from. The
phpinfo() function lists all .ini files that were loaded. It
would be nice if the fpm and the pool configuration file could be listed in the *phpinfo*, too.
Maybe somewhere below the php-fpm paragraph.
**Alternative**
Even better would be to show from which file each settings comes from. For example like this:

But this may be a little overkill ^^