1. Home
  2. Technical
  3. Apache
  4. 500 Internal Server Error
  1. Home
  2. Technical
  3. 500 Internal Server Error

500 Internal Server Error

The 500 Internal Server Error is a very general website status code that means something has gone wrong on the website’s server, but the server could not be more specific on what the exact problem is. The error is usually displayed due to incorrect .htaccess file settings.

Attention!

The cause of the error is recorded in the server error_log file, which is located in the virtual server logs directory which can be accessed via FTP/webFTP.

The main reasons for this error message are:

  • The .htaccess file has been modified to include disabled directives.
  • Excessive resource usage from a PHP script.
  • Browser Cache.
  • Incorrect database login credentials.
  • Corrupted database or corrupted files in your WordPress installation.
  • Issues with third-party plugins and themes.
  • PHP timing out or fatal PHP errors with third-party plugins.
  • Errors in CGI and Perl script. An error occurred while setting the PHP script handler. At the beginning of each CGI script, as a rule, the interpreter that processes this script is written (in the case of a Perl script, for example
  • Incorrect line spacing format used in PHP script. Instead of DOS-style line spacing, UNIX-style line spacing must be used (at least on the line where the interpreter is defined).

ap_scan_script_header_err_brigade() returned HTTP error 500 is usually caused by PHP sending headers longer than 8000 bytes. The Apache web server allows a maximum total header length of 8kB.

Updated on 16. May 2024

Was this article helpful?

Related Articles