Question
Where are the PHP error logs located?
Answer
The default location of the PHP error logs depends on which PHP handler the site uses. The PHP-FPM, FCGI, and CGI handlers use /home/$USERNAME/logs/$DOMAIN_TLD.php.error.log
as the error log. The SuPHP and LSAPI /home/$USERNAME/public_html/error_log
as the error log.
Please note that $USERNAME must be replaced with the cPanel username, and $DOMAIN_TLD must be replaced with the domain name.