You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PHP 8.5 FPM access log lines also go to STDERR #19989
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.
We also detected the same issue in zlog_stream_init_internal() with PHP 8.5.0 RC1 on Debian systems running php-fpm with access logs direct writing (no syslog).
Access logs are written in the php-fpm access log file, but also in the stderr, resulting being written in the Apache error logs.
This is a blocker for production release because it will generate too much logs :(
Activity
Victor-D commentedon Oct 3, 2025
Hello
We also detected the same issue in
zlog_stream_init_internal()with PHP 8.5.0 RC1 on Debian systems running php-fpm with access logs direct writing (no syslog).Access logs are written in the php-fpm access log file, but also in the stderr, resulting being written in the Apache error logs.
This is a blocker for production release because it will generate too much logs :(
Fix phpGH-19989: PHP 8.5 FPM access log lines also go to STDERR
bukka commentedon Oct 10, 2025
I can confirm that this is a bug. Fix in #20123 .
Fix GH-19989: PHP 8.5 FPM access log lines also go to STDERR
Merge branch 'PHP-8.5'