[DOC-CVS] [doc-en] master: fpm: improve configuration, mention ondemand mode (#4619)

[email protected] (Ludwig Rafelsberger via GitHub) Fri, 8 May 2026 15:45:54 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Ludwig Rafelsberger (tantegerda1)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-05-08T17:45:52+02:00

Commit: https://github.com/php/doc-en/commit/1f01e2a8e478c63bd6598cde09235ec027b23dd5
Raw diff: https://github.com/php/doc-en/commit/1f01e2a8e478c63bd6598cde09235ec027b23dd5.diff

fpm: improve configuration, mention ondemand mode (#4619)

* Add missing closing brace
* Mention all relevant fpm pm modes

The option `pm.max_children` is relevant for `pm = ondemand` too.

Co-authored-by: Jordi Kroon <[email protected]>

Changed paths:
  M  install/fpm/configuration.xml


Diff:

diff --git a/install/fpm/configuration.xml b/install/fpm/configuration.xml
index 5fbc0aec71e0..0718302f3c76 100644
--- a/install/fpm/configuration.xml
+++ b/install/fpm/configuration.xml
@@ -392,16 +392,16 @@
        <para>
         <literal>static</literal> - the number of child processes is fixed (<literal>pm.max_children</literal>).
        </para>
-       <para>
+       <simpara>
         <literal>ondemand</literal> - the processes spawn on demand (when requested,
         as opposed to dynamic, where <literal>pm.start_servers</literal> are started
-        when the service is started.
-       </para>
-       <para>
+        when the service is started).
+       </simpara>
+       <simpara>
         <literal>dynamic</literal> - the number of child processes is set dynamically based on the
         following directives: <literal>pm.max_children</literal>, <literal>pm.start_servers</literal>,
         <literal>pm.min_spare_servers</literal>, <literal>pm.max_spare_servers</literal>.
-       </para>
+       </simpara>
       </listitem>
      </varlistentry>
      <varlistentry xml:id="pm.max-children">
@@ -410,12 +410,12 @@
        <type>int</type>
       </term>
       <listitem>
-       <para>
+       <simpara>
         The number of child processes to be created when <literal>pm</literal> is set to
         <literal>static</literal> and the maximum number of child processes to be created
-        when <literal>pm</literal> is set to <literal>dynamic</literal>. This
-        option is mandatory.
-       </para>
+        when <literal>pm</literal> is set to <literal>dynamic</literal> or <literal>ondemand</literal>.
+        This option is mandatory.
+       </simpara>
        <para>
         This option sets the limit on the number of simultaneous requests that
         will be served. Equivalent to the ApacheMaxClients directive with