Skip to main content

PHP-FPM Access Logs

Comments

3 comments

  • cPanelMichael
    In trying to investigate, I have found that PHP-FPM doesn't appear to log access, IPs or URL requests for the pool, so I have no idea which script is causing the problem.

    Hello @ShawnSites, Aside from the PHP-FPM logs for the domain name in the /home/$username/logs/ directory, have you checked the domain access logs for the domain name in the /usr/local/apache/domlogs/ directory? Thank you.
    0
  • ShawnSites
    Hello, Thanks for the response. I have checked those logs and they don't contain the "Remote IP" for me to find what script or page is being accessed. (I have also checked the FPM logs here "/var/cpanel/php-fpm/USER/logs/", but they are empty.) This is what is puzzles me, as I can access the domain myself from a browser and find those entries in the domlogs, but not any of the IPs that cause the LFD report.
    0
  • cPanelMichael
    Hello, Since it's an outgoing connection from the cPanel server, then it's possible you won't see a corresponding entry in the PHP-FPM or Apache logs. Did you check to see if the remote IP address is utilized by an application such as WordPress. Since it's over port 443, it could be a script is configured to automatically update and is fetching files from the script's update servers. Thank you.
    0

Please sign in to leave a comment.