Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

500 Internal Server Error - Log Location?

I'm running a Linux server with cPanel installed.

I keep getting a 500 error when visiting a certain page, but I'm trying to find the logs that can provide me with more information.

Here's one place I've found some logs for it:

/usr/local/apache/domlogs/mydomain.com

But all that has is generic information stating that a 500 error occurred, but not necessarily what caused it. Where should I be looking for that information?

like image 923
Username Avatar asked Oct 03 '14 22:10

Username


1 Answers

Running Apache2 in a CentOS, you can check the logs with the following command:

tail /usr/local/apache/logs/error_log
like image 160
David Dieguez Neto Avatar answered Sep 19 '22 06:09

David Dieguez Neto