From:             [EMAIL PROTECTED]
Operating system: Redhat Linux 5.1
PHP version:      4.0.4pl1
PHP Bug Type:     Unknown/Other Function
Bug description:  Premature end of script headers (with some extra info)


I have seen many bug reports about this. It seems that PHP is crashing before it sends 
complete headers. However, I think I have something new that might help you. please 

PHP 4.0.4pl1 is installed as cgi and configured with:
./configure --with-mysql
The server has PHP3.0.15 running as a module on apache 1.3.4

I have tried manythings, including:
Running the scripts from command line: perfectly works.
Running the script from PHP3 as a module: of course.
Calling the script as normal cgi:Premature end of script headers.
naming the script as .cgi and putting the #!php interpreter on the first line: 
Premature end of script headers.

More information: Other cgi scripts do not work well, for example, every NPH script 
crashs immediately on my server.

Also, Neomail refused to install, it requested version 2.72 while I have 
version 2.49

I am still searcing for the reason, but I wanted to tell you this. if it might help 


Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to