|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25720 The Specified CGI application misbehaved
Submitted: 2003-10-01 14:26 UTC Modified: 2003-10-01 20:43 UTC
From: brian dot weatherhead at wgint dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.3.3 OS: Win 2000 SP4
Private report: No CVE-ID: None
 [2003-10-01 14:26 UTC] brian dot weatherhead at wgint dot com
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:

// Show all information, defaults to INFO_ALL

// Show just the module information.
// phpinfo(8) yields identical results.


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>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-01 20:43 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun May 28 13:03:46 2023 UTC