php / php/php-src

fpm: Show pool configuration file name in phpinfo()

Open
#11,075 0 comments 1 reaction 1 assignee View on GitHub

@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:

grafik

But this may be a little overkill ^^

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.