Premature end of script headers

beowulf

Verified User
Joined
Nov 4, 2004
Messages
11
I'm getting the following error when running some web scrips on users public_html folder. My default php is set to 5.

Server error!

The server encountered an internal error and was unable to complete your request.

Error message:
Premature end of script headers: index.php

If you think this is a server error, please contact the webmaster.
Error 500

Can somebody help please?
 
Strange that this is happening when i create a new user.
Some of them work fine, while some i get the same error. it executes any php code.
Usualy i create a test.php file just with phpinfo() inside, and i get the same error in some users, not all of them. users/gorup permitions are equivalent to the ones that are able to run php scripts.
 
if the user runs:
Code:
php /path/to/php/file.php
what is the output?
does it include the html headers or not? (you can copy paste the output to pastebin, and let me check if you want)
(in file.php you can put the phpinfo() test ;))
 
Back
Top