[PHP-DEV] Bug #10441: Premature end of script headers (with some extra info) From: alayham <email protected>
Date: 04/22/01

From: alayham <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)

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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>