From: bluemoon dot kmutt at gmail dot com Operating system: Windows Server 2003 PHP version: 5.2.5 PHP Bug Type: IIS related Bug description: CGI Error on IIS 6.0
Description: ------------ System Spec: Windows Server 2003 IIS 6.0 PHP 5.2.5 ------ I have been create website and distributed. Website can used and display with no error. Then few days ago my website display some following error --- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. --- I don't know what happened. So I copy all of file to another drive and re-distribute it and map to the same website and recheck it, it can display with no above error. And then I rebuild it on the same drive that occur and error with difference folder name, it display error again.So I install Apache Web server and map to the same folder. No error display with Apache web server. Anybody can help me to fix this problem? Thank you so much for you help. Reproduce code: --------------- <? // Just this simple souce code, it display an error. phpinfo(); ?> Expected result: ---------------- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. Actual result: -------------- Output as the PHP Infomation Page. -- Edit bug report at http://bugs.php.net/?id=43560&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43560&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43560&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43560&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43560&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43560&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43560&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43560&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43560&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43560&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43560&r=support Expected behavior: http://bugs.php.net/fix.php?id=43560&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43560&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43560&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43560&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43560&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43560&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43560&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43560&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43560&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43560&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43560&r=mysqlcfg