From 812a99d4afe045b4f9267a127a8da2ea514e2859 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Thu, 27 Aug 2026 10:45:01 +0200 Subject: [PATCH 1/2] [fpm] Document PHP 8.5 FPM changes: fastcgi.script_path_encoded and access log limit --- appendices/migration85/other-changes.xml | 7 ++++--- install/fpm/configuration.xml | 26 +++++++++++++++++++++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/appendices/migration85/other-changes.xml b/appendices/migration85/other-changes.xml index 4f5669fee068..c1667be88a73 100644 --- a/appendices/migration85/other-changes.xml +++ b/appendices/migration85/other-changes.xml @@ -67,9 +67,10 @@ FPM - FPM with httpd ProxyPass optionally decodes the full script path. Added - fastcgi.script_path_encoded - 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 fastcgi.script_path_encoded + INI setting controls this behavior; it defaults to 1 to preserve + the previous behavior of not decoding the path. diff --git a/install/fpm/configuration.xml b/install/fpm/configuration.xml index e2396d9482cd..5411bbef8a59 100644 --- a/install/fpm/configuration.xml +++ b/install/fpm/configuration.xml @@ -806,10 +806,30 @@ string - + The access log file. - Default value: not set - + Default value: not set. + + + As of PHP 8.5.0, the access log line length limit respects the + global log_limit setting. + + + + + + fastcgi.script_path_encoded + bool + + + + When enabled (1, the default as of PHP 8.5.0), + FPM does not URL-decode the SCRIPT_FILENAME sent + by httpd ProxyPass, preserving the previous behavior. + Set to 0 to opt into the new behavior where FPM + URL-decodes the full script path. + Available as of PHP 8.5.0. + From e59fbb2f695996e67a9dc850c321f4b5dc085685 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Thu, 1 Oct 2026 08:23:04 +0200 Subject: [PATCH 2/2] Link ProxyPass to the Apache documentation --- appendices/migration85/other-changes.xml | 6 ++++-- install/fpm/configuration.xml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/appendices/migration85/other-changes.xml b/appendices/migration85/other-changes.xml index c1667be88a73..53dc8bcf3767 100644 --- a/appendices/migration85/other-changes.xml +++ b/appendices/migration85/other-changes.xml @@ -1,5 +1,5 @@ - + Other Changes @@ -67,7 +67,9 @@ FPM - FPM with httpd ProxyPass can optionally decode the full script path as of PHP 8.5.0. + FPM with httpd + ProxyPass + can optionally decode the full script path as of PHP 8.5.0. The new fastcgi.script_path_encoded INI setting controls this behavior; it defaults to 1 to preserve the previous behavior of not decoding the path. diff --git a/install/fpm/configuration.xml b/install/fpm/configuration.xml index 5411bbef8a59..151bd99f26c8 100644 --- a/install/fpm/configuration.xml +++ b/install/fpm/configuration.xml @@ -825,7 +825,9 @@ When enabled (1, the default as of PHP 8.5.0), FPM does not URL-decode the SCRIPT_FILENAME sent - by httpd ProxyPass, preserving the previous behavior. + by httpd + ProxyPass, + preserving the previous behavior. Set to 0 to opt into the new behavior where FPM URL-decodes the full script path. Available as of PHP 8.5.0.