Score:0

With php-fpm.conf what is the default value for "pm"?

ru flag

According to https://www.php.net/manual/en/install.fpm.configuration.php for pm there are:

pm string

Choose how the process manager will control the number of child processes. Possible values: static, ondemand, dynamic. This option is mandatory.

static - the number of child processes is fixed (pm.max_children).

ondemand - the processes spawn on demand (when requested, as opposed to dynamic, where pm.start_servers are started when the service is started.

dynamic - the number of child processes is set dynamically based on the following directives: pm.max_children, pm.start_servers, pm.min_spare_servers, pm.max_spare_servers.

But it does not say what the default value is.

I guess "static" but it would be nice to be certain.

Score:2
jp flag

There is no default. This option is mandatory. If this option is missing the error will be returned.

Avatar avatar
ru flag
Thank you very much. I think they should add this to the docs.
jp flag
The words "This option is mandatory." are in the documentation you quoted in your question.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.