php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: op1001 at swt dot edu
New email:
PHP Version: OS:

 

 [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.
script:
<?php
 phpinfo();
?>

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

 [2002-09-11 11:00 UTC] sniper@php.net
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 http://www.php.net/downloads.php

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC