500

Updated: 09/12/2023 by Computer Hope
Number 500 in black lettering on aqua background.

500 may refer to any of the following:

1. 500 is an HTTP (hypertext transfer protocol) status code indicating that the web server encountered an unexpected malfunction and cannot fulfill the request. This error often occurs when attempting to run a server script, like a PHP (PHP: Hypertext Preprocessor) or Perl file, containing mistakes.

Tip

See our HTTP definition for a listing of other HTTP error codes.

The error results from the server not knowing how to handle the script or errors. With Perl, add the following line to output script errors to the browser, giving you a better idea of where errors occurred in the script.

use CGI::Carp qw( fatalsToBrowser carpout);

2. 500 is an area code, see our 500 area code listing for further information.

Error, HTTP, Web design terms