NYCPHP Meetup

NYPHP.org

[nycphp-talk] Exec format error - PHP application not running

Daniel Convissor danielc at analysisandsolutions.com
Sat May 6 10:02:43 EDT 2006


On Sat, May 06, 2006 at 06:07:01AM -0700, Kurt Zimmerman wrote:
> 
> [Fri May 05 10:20:03 2006] [error] [client
> 66.249.65.40] (8)Exec format error: exec of
> '/var/www/html/guestbook/index.php' failed
> [Fri May 05 10:20:03 2006] [error] [client
> 66.249.65.40] Premature end of script headers:
> index.php

This is a common error on CGI scripts.  That error usually comes up 
because the script isn't sending a content type, eg:

   Content-type: text/html\n\n

But this is rarely an issue with PHP because PHP sends that automatically 
for you.  What are your settings for the following php.ini items:

   default_mimetype
   output_buffering
   display_errors

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list