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!

Cannot Find Log of 500 Error

Discussion in 'General Discussion' started by denverdataman, Sep 12, 2018.

Tags:
  1. denverdataman

    denverdataman Active Member

    Joined:
    Jun 21, 2016
    Messages:
    32
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Denver
    cPanel Access Level:
    Root Administrator
    I am working on a test machine upgrading Centos and PHP. I expect to see some 500 errors as I go and to need to work through them. However, when I go to the cPanels errors page there no errors listed at all.

    I am running Apache 2.4 with PHP 7.2 and PHP-FPM.

    I have looked in the following locations and not find any logs.

    /home/www
    /usr/local/apache/error_log
    /etc/apache2/logs/error_log
    /usr/local/cpanel/logs/error_log
    /usr/local/apache/logs/error_log
    /home/username/logs/*

    Any help is greatly appreciated.

    By the way some pages on the site load so I know that the overall machine and codebase are working.

    Thanks,
    Steve
     
  2. denverdataman

    denverdataman Active Member

    Joined:
    Jun 21, 2016
    Messages:
    32
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Denver
    cPanel Access Level:
    Root Administrator
    Disregard.. I was SSHed into the wrong server ::FACE PALM::
    I am still not sure why nothing is showing in the web UI but I have my error.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,153
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @denverdataman,

    You can browse to cPanel >> MultiPHP INI Editor and use Basic Mode to modify PHP configuration for that domain name to display errors on the website itself:

    MultiPHP INI Editor for cPanel - Version 74 Documentation - cPanel Documentation

    The directive you'd want to turn on is:

    display_errors

    Thank you.
     
    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