Bug #10441: Premature end of script headers (with some extra info)
| From: | alayham at marjah dot net | Date: | Sun, 22 Apr 2001 15:13:48 +0000 |
| Subject: | Bug #10441: Premature end of script headers (with some extra info) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52140@lists.php.net to get a copy of this message | ||
From: alayham@marjah.net
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)
Hi.
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 follow.
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 cgi.pm 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 you.
ayham
--
Edit Bug report at: http://bugs.php.net/?id=10441&edit=1