in reply to Exec format error

Perhaps you should spend some time working through Ovid's CGI Course.