Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I run website on APACHE and PHP on Debian. Sometimes I see the following error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

My question is, where do I find this log? Is it configurable?

Thank you

share|improve this question

migrated from stackoverflow.com Jul 29 '11 at 9:37

This question came from our site for professional and enthusiast programmers.

    
What OS? What distribution? –  symcbean Jul 29 '11 at 9:09
1  
Look in your httpd.conf and php.ini for the configuration directives specifying the location of the error log. /var/log/httpd/error_log is a common location. –  Dan Grossman Jul 29 '11 at 9:10
    
It was actually Debian. Thank you. –  FlexJack Jul 29 '11 at 9:20

1 Answer 1

up vote 2 down vote accepted
/var/log/apache2/error.log 

probably

You can config it in

/etc/apache2/apache2.conf

In case you use Debian

share|improve this answer
1  
"In case you use Linux"... this is not the default location or name of the Apache configuration file or error log in many Linux distributions, including RedHat and all its branded and unbranded (CentOS/Amazon Linux/etc) derivatives. –  Dan Grossman Jul 29 '11 at 9:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.