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

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


You can config it in


In case you use Debian

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy