PHP and PHP-FPM logs for domain
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
-
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. 0
Please sign in to leave a comment.
Comments
1 comment