Skip to content
Open
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions appendices/migration85/other-changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@
<title>FPM</title>

<simpara>
FPM with httpd ProxyPass optionally decodes the full script path. Added
<!-- <link linkend="ini.fastcgi.script_path_encoded"-->fastcgi.script_path_encoded<!-- </link> -->
INI setting to prevent this new behavior.
FPM with httpd ProxyPass can optionally decode the full script path as of PHP 8.5.0.
The new <link linkend="ini.fastcgi.script-path-encoded">fastcgi.script_path_encoded</link>
INI setting controls this behavior; it defaults to <literal>1</literal> to preserve
the previous behavior of not decoding the path.
</simpara>

<simpara>
Expand Down
26 changes: 23 additions & 3 deletions install/fpm/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,30 @@
<type>string</type>
</term>
<listitem>
<para>
<simpara>
The access log file.
Default value: not set
</para>
Default value: not set.
</simpara>
<simpara>
As of PHP 8.5.0, the access log line length limit respects the
global <link linkend="log-limit">log_limit</link> setting.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.fastcgi.script-path-encoded">
<term>
<parameter>fastcgi.script_path_encoded</parameter>
<type>bool</type>
</term>
<listitem>
<simpara>
When enabled (<literal>1</literal>, the default as of PHP 8.5.0),
FPM does not URL-decode the <literal>SCRIPT_FILENAME</literal> sent
by httpd <literal>ProxyPass</literal>, preserving the previous behavior.
Set to <literal>0</literal> to opt into the new behavior where FPM
URL-decodes the full script path.
Available as of PHP 8.5.0.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="access-format">
Expand Down