|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-07-09 11:12 UTC] ast dot markus at gmx dot net
Description:
------------
Sending this header:
header('Content-type: application/rss+xml');
will cause PHP to crash (on IIS7 with FastCgi).
Windows Log says:
Fehlerhafte Anwendung php-cgi.exe, Version 5.3.0.0, Zeitstempel 0x487474e8, fehlerhaftes Modul php-cgi.exe, Version 5.3.0.0, Zeitstempel 0x487474e8, Ausnahmecode 0xc0000005, Fehleroffset 0x000055d4, Prozess-ID 0x11e0, Anwendungsstartzeit 01c8e1b3e4ba9d90.
or
Fehlerhafte Anwendung php-cgi.exe, Version 5.3.0.0, Zeitstempel 0x487474e8, fehlerhaftes Modul php5ts.dll, Version 5.3.0.0, Zeitstempel 0x487474d6, Ausnahmecode 0xc0000005, Fehleroffset 0x0000bae6, Prozess-ID 0x12d0, Anwendungsstartzeit 01c8e1b43b3e5210.
Reproduce code:
---------------
<?php
header('Content-type: application/rss+xml');
echo '<rss></rss>';
?>
Expected result:
----------------
IIS7 Error:
HTTP-Fehler 500.0 - Internal Server Error
Modul: FastCgiModule
Benachrichtigung: ExecuteRequestHandler
Handler PHP via FastCgi
Fehlercode: 0x800703e3
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 13:00:01 2025 UTC |
By the way: header('Content-type: application/xml'); for example works without any problem