|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16866 Php does not output content-type
Submitted: 2002-04-26 21:49 UTC Modified: 2002-09-11 11:00 UTC
From: op1001 at swt dot edu Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.2.0 OS: Windows Xp
Private report: No CVE-ID: None
 [2002-04-26 21:49 UTC] op1001 at swt dot edu
When running a script with the windows binary, php fails to output the necessary lines:
X-Powered-By: PHP/4.0.6
Content-type: text/html

This occured with the latest 4.0.2 release.

Apache gave a 500 error, complaining that the full headers were not sent.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-26 22:44 UTC]
Are you using the correct exe? ie. the one from sapi/ folder in the PHP .zip package?

 [2002-09-11 11:00 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Mar 25 23:03:40 2023 UTC