... except that 755 is -rwxr-xr-x, not the -rwxrw-rw- that anonymonk implied, so that anonymous "explanation" completely falls apart regarding the most basic facts. (See man chmod: "read (4), write (2), and execute (1)": read+write=4+2=6. read+execute=4+1=5.)
natol44 and other readers would be well-advised to ignore the post that I am replying to, and instead focus on some of the other useful advice already given in the thread, like following linked debugging suggestions in a different anonymous-user's post 11139625 (with the links) and soonix's Re^2: Infamous "Premature end of script headers", or trying NetWallah's known-working script from Re: Infamous "Premature end of script headers" -- if you cannot get that known-working script to work, that means there is a setup problem in your server, not an issue with the contents of the script.
In reply to Re^3: Infamous "Premature end of script headers"
by pryrt
in thread Infamous "Premature end of script headers"
by natol44
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |