Skip to main content

cPanel PHP Error log empty

Comments

1 comment

  • JacobPerkins
    Hi, The php.ini will specify where the error_log is held. Since with that directive (error_log = error_log), this means that if there ARE errors, those errors will be send to "${PWD}/error_log". So if the PHP application is executed from '/home/${user}/public_html', the error_log in public_html will be populated in the event of PHP errors. The ACTUAL cPanel PHP error_log (/usr/local/cpanel/logs/error_log) is for cPanels internal PHP only, and not Apache's PHP. I hope this helps!
    0

Please sign in to leave a comment.