Skip to content

php_value[xxx] in php-fpm pool - first declaration wins #8398

@crussell52

Description

@crussell52

Description

The following code:

[www]
; ...
pm.start_servers = 5
pm.start_servers = 6

php_value[default_socket_timeout] = 61
php_value[default_socket_timeout] = 62

Resulted in this result:

pm.start_servers = 6
php_value[default_socket_timeout] = 61

But I expected this output instead:

pm.start_servers = 6
php_value[default_socket_timeout] = 62

Note, with php_value entries, the first declaration wins and with other directives, the last declared value wins. This behavior of php_value entries is inconsistent with the way the rest of the php configuration files operation.

This appears to function contrary to the php-fpm configuration documentation which reads:

PHP settings passed with php_value or php_flag will overwrite their previous value.

PHP Version

7.4

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy