fpm: Show pool configuration file name in phpinfo()
Open
@bukka is already working on this.
Since May 5, 2023.
Feature
SAPI: fpm
Status: Needs Triage
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
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 out from 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 ^^
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.