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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
16 + 15 = ?
Subscribe to this entry?

 
 [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: Thu Apr 25 10:01:29 2024 UTC