|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79776 php-fpm pool access log not shows client IP Address even if it is configurated
Submitted: 2020-07-03 18:30 UTC Modified: 2020-07-12 04:22 UTC
From: ijb_green at hotmail dot com Assigned:
Status: No Feedback Package: FPM related
PHP Version: 7.4.7 OS: Docker on Ubuntu 18.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
50 - 21 = ?
Subscribe to this entry?

 [2020-07-03 18:30 UTC] ijb_green at hotmail dot com
When i configure the %R format escape in access.format format in my pool configuration file in the file only show a hypen with no ip address

Expected result:
IP of the client in the access log

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-07-03 18:32 UTC] ijb_green at hotmail dot com
This is the configuration entry

;      The strftime(3) format must be encapsuled in a %{<strftime_format>}t tag
;      e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t
;  %T: time the log has been written (the request has finished)
;      it can accept a strftime(3) format:
;      %d/%b/%Y:%H:%M:%S %z (default)
;      The strftime(3) format must be encapsuled in a %{<strftime_format>}t tag
;      e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t
;  %u: remote user
; Default: "%R - %u %t \"%m %r\" %s"
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
access.format = "%R - %u %t \"%m %r\" %s"
 [2020-07-03 18:34 UTC] ijb_green at hotmail dot com
The output:

- -  30/Jun/2020:18:15:17 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 1.002 2048 0.00%
- -  30/Jun/2020:18:15:22 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 0.610 2048 0.00%
- -  30/Jun/2020:18:23:19 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 1.827 2048 0.00%
- -  30/Jun/2020:18:23:20 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 1.058 2048 0.00%
- -  30/Jun/2020:18:23:24 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 0.294 2048 0.00%
 [2020-07-03 18:54 UTC]
-Status: Open +Status: Feedback -Package: *Configuration Issues +Package: FPM related
 [2020-07-03 18:54 UTC]
Are you connecting over a Unix socket or TCP/IP? Use an IP address in the URL.
 [2020-07-12 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Nov 27 06:03:14 2021 UTC