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

Please contact the server administrator, nkutty@bics.com 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.
Apache/2.2.0 (Fedora) Server at bbt.com Port 80

This works fine in my local system but it is not working in the server.

anbusekar
  • 785
  • 2
  • 6
  • 6
  • 8
    please look at the server logs. – Mat Jun 22 '11 at 10:39
  • 2
    `More information about this error may be available in the server error log.` Is there any more information in the server log? This is a generic Apache error meaning "some other component encountered an error"; typically, it might be an error in your PHP script (different directory paths on devel and live? Access permissions in filesystem? Access error in database?) – Piskvor left the building Jun 22 '11 at 10:41
  • Dup: http://stackoverflow.com/questions/5127838/where-does-php-store-the-error-log – Michel Ayres Feb 14 '14 at 11:06

2 Answers2

52

Check your servers error log, typically /var/log/apache2/error.log.

Konerak
  • 39,272
  • 12
  • 98
  • 118
30

You should look for the error in the file error_log in the log directory. Maybe there are differences between your local and server configuration (db user/password etc.etc.)

usually the log file is in

/var/log/apache2/error.log

or

/var/log/httpd/error.log
Nicola Peluchetti
  • 76,206
  • 31
  • 145
  • 192