Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions install/fpm/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,21 @@
</listitem>
</varlistentry>
</variablelist>
<para>
Configuration values can be set using environment variable expansion.
Setting default values when the environment variable is unset or null is also supported.
For example:
<example>
<title>Using environment variable expansion</title>
<programlisting role="ini">
<![CDATA[
listen = /var/run/php-fpm-$POOL_NAME.sock
user = ${USER_NAME:-www-data}
group = ${USER_NAME:-www-data}
]]>
</programlisting>
</example>
</para>
<para>
It's possible to pass additional environment variables and update PHP settings of a certain pool.
To do this, you need to add the following options to the pool configuration file.
Expand Down