[php-src] Issue #19989: PHP 8.5 FPM access log lines also go to STDERR

From: Date: Mon, 29 Sep 2025 11:00:17 +0000
Subject: [php-src] Issue #19989: PHP 8.5 FPM access log lines also go to STDERR
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-250932@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/19989 Author: rainerjung ### Description We tested PHP 8.5 and noticed a change between alpha2 and beta2, which still exists in RC1: all lines going to a configured access log file in FPM also seems to get send to Apache as errors, so probably they are somehow also written to STDERR. Example: - custom FPM access log line: ``` ::1 - 29/Sep/2025:11:52:53 +0200 "GET /status?json&full" 200 - 0.710 2048 0.00% ``` - unexpected line in Apache httpd error log file: ``` :1 - 29/Sep/2025:11:52:53 +0200 "GET /status?json&full" 200 - 0.710 2048 0.00%', referer http://myserver/status.html ``` Looking at FPM changes, this is likely due to the fix for issue #12302 in PR #18725 (Commit https://github.com/php/php-src/commit/cfb3e98c84b73d3efebc7e062cb38af51ee9005a). ### PHP Version ```plain PHP 8.5.0RC1 (cli) (built: Sep 28 2025 09:40:27) (NTS) Copyright (c) The PHP Group Zend Engine v4.5.0RC1, Copyright (c) Zend Technologies with Zend OPcache v8.5.0RC1, Copyright (c), by Zend Technologies ``` ### Operating System Linux RHEL 9

« previous php.bugs (#250932) next »