You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/17 17:30:07 UTC
[Httpd Wiki] Update of "ExecFormatError" by preaction
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by preaction:
http://wiki.apache.org/httpd/ExecFormatError
The comment on the change is:
Added the ExecFormatError page
New page:
= ExecFormatError =
{{{
(8)Exec format error: exec of '...' failed
}}}
Usually this error message means one of two things:
1. Your CGI script does not have a #! line
2. Your CGI program is not a valid binary for the system
The first two bytes of a file are used to determine how to execute the file. If those two bytes are #!, something special happens: The rest of the line is treated as the path to an executable to run the rest of the file. If those two bytes are not #!, then the system assumes it's a binary file and tries to execute it that way.
== See Also ==
* [http://en.wikipedia.org/wiki/Shebang_(Unix) Shebang (Unix) -- Wikipedia, the free encyclopedia]