Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED PHP-FPM not logging errors?

Discussion in 'General Discussion' started by bloom360, Jun 29, 2018.

Tags:
  1. bloom360

    bloom360 Member

    Joined:
    Feb 23, 2015
    Messages:
    19
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi,

    I switched to PHP-FPM and PHP7.2 and it appears that it is no longer logging error_log

    I checked php.ini and it does have:

    log_errors = On

    Can you please advice?

    Many thanks
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    714
    Likes Received:
    120
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    PHP-FPM specifies a specific path, it would be in

    Code:
    /home/user/logs/domain_com_.php.error.log
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  3. bloom360

    bloom360 Member

    Joined:
    Feb 23, 2015
    Messages:
    19
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Thanks @Jcats much appreciated
     
    cPanelMichael likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,819
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I've marked this thread as solved.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice