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]

Reply via email to