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
11 changes: 7 additions & 4 deletions appendices/migration85/other-changes.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<sect1 xml:id="migration85.other-changes">
<sect1 xml:id="migration85.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Other Changes</title>

<sect2 xml:id="migration85.other-changes.core">
Expand Down Expand Up @@ -67,9 +67,12 @@
<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
<link xlink:href="https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass"><literal>ProxyPass</literal></link>
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
28 changes: 25 additions & 3 deletions install/fpm/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,32 @@
<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
<link xlink:href="https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass"><literal>ProxyPass</literal></link>,
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
Loading