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!

PHP and PHP-FPM logs for domain

Discussion in 'EasyApache' started by schatzman, Aug 3, 2017.

Tags:
  1. schatzman

    schatzman Member

    Joined:
    Apr 9, 2017
    Messages:
    23
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    europe
    cPanel Access Level:
    Website Owner
    hello

    where can i find the php and php-fpm error logs for domains? as im running a script that crash and give me error 503.. and while running all websites on server dont load.. just hang until they also crash with 503 and php-fpm is restarted..

    thanks
    Matan
     
    Ashikur Rahman likes this.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    PHP errors are logged to an error_log file in the document root where the PHP script is uploaded to. As for the global PHP-FPM error log, you can find that at:

    /opt/cpanel/ea-php$$/root/usr/var/log/php-fpm/error.log

    You'd replace "ea-php$$" with a specific version of PHP (e.g. ea-php70). You may also want to review the Apache error log (/usr/local/apache/logs/error_log) when troubleshooting that error code.

    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