From: brian dot weatherhead at wgint dot com Operating system: Win 2000 SP4 PHP version: 4.3.3 PHP Bug Type: IIS related Bug description: The Specified CGI application misbehaved
Description: ------------ Used the install binary, dowloaded today (10/1/2003). 1. /php/DLL contents copied to /system32 (and permissions set) 2. c:\php folder permissions set 3. can run c:\php\php.exe -i no errors reported 4. permissions set on /winnt/php.ini 5. permissions set on /winnt/system32/php4ts.dll 6. target file DOES exist. 7. .htm in same IIS folder works fine. 8. doc_root = ***BLANK**** 9. cgi.force_redirect = 0 10. Permissions for above double checked (IUSR_LOCAL### has full control). 11. c:\php.exe test.php generated expected output 12. Home directory set for scripts and exec. 13. Tried several different .php files, same result. Reproduce code: --------------- <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo(8) yields identical results. phpinfo(INFO_MODULES); ?> Expected result: ---------------- PHP Info results Actual result: -------------- <head><title>Error in CGI Application</title></head> <body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:<p><p><pre></pre> -- Edit bug report at http://bugs.php.net/?id=25720&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25720&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25720&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25720&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25720&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25720&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25720&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25720&r=support Expected behavior: http://bugs.php.net/fix.php?id=25720&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25720&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25720&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25720&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25720&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25720&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25720&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25720&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25720&r=float