php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10441 Premature end of script headers (with some extra info)
Submitted: 2001-04-22 11:13 UTC Modified: 2001-06-14 16:52 UTC
From: alayham at marjah dot net Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.4pl1 OS: Redhat Linux 5.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alayham at marjah dot net
New email:
PHP Version: OS:

 

 [2001-04-22 11:13 UTC] alayham at marjah dot net
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-14 16:52 UTC] sniper@php.net
Can't reproduce. This is configuration issue. not bug.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 00:01:29 2025 UTC