Skip to content

[fpm] Document PHP 8.5 FPM changes: fastcgi.script_path_encoded and access log limit - #5855

Open
lacatoire wants to merge 3 commits into
php:masterfrom
lacatoire:submit/fpm-changes-85
Open

lacatoire wants to merge 3 commits into
php:masterfrom
lacatoire:submit/fpm-changes-85

Conversation

@lacatoire

Copy link
Copy Markdown
Member
  • install/fpm/configuration.xml: document fastcgi.script_path_encoded INI setting and access.log respecting log_limit as of PHP 8.5.0 (PHP 8.5 Documentation Tracker)
  • appendices/migration85/other-changes.xml: fix commented-out link to fastcgi.script_path_encoded (PHP 8.5 Documentation Tracker)

@lacatoire lacatoire added the 8.5 label Sep 10, 2026
@lacatoire lacatoire added this to the PHP 8.5 milestone Sep 10, 2026
@lacatoire
lacatoire force-pushed the submit/fpm-changes-85 branch 2 times, most recently from e3e24c5 to 812a99d Compare September 10, 2026 14:34
Comment thread install/fpm/configuration.xml Resolved
@lacatoire
lacatoire requested a review from jordikroon October 1, 2026 06:23
@lacatoire

Copy link
Copy Markdown
Member Author

Addressed the ProxyPass remark, merging this week unless someone objects.

<!-- <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>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this as entity? Would it make more sense to add &url.apache.proxy;#proxypass or should we narrow it down to &url.apache.proxy.proxypass;?

<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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<literal>INI</literal>

Comment thread install/fpm/configuration.xml Outdated
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>,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can then use the same entity here.

@jordikroon jordikroon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small nits

@lacatoire
lacatoire force-pushed the submit/fpm-changes-85 branch from b229fa9 to f0c4aa7 Compare October 29, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants