faqts : Computers : Programming : Languages : PHP : Common Problems : Errors

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 38 people (24%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

Why do I get 500 error on browser when trying to run php file from cgi-bin directory?

Jun 8th, 2001 07:16
Rick Hanzlik,


Additional:
program works fine from the command line and will run fine from the 
main html directory.  ERROR_LOG file shows "exec format error" 
and "premature end of script header" error each time program is called 
via browser.  Permissions are set at 655 on php file.