ID: 15889 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: IIS related Operating System: Windows XP PHP Version: 4.1.1 New Comment:
Very likely to be caused by and incorrect session_savepath. If that's not the case, reopen this report. This bug has already been fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2002-03-05 17:46:03] [EMAIL PROTECTED] I've narrowed the bad code down to this: [START] <?php session_start(); ?> <html> <body> Hello! </body> </html> [END] When I try to go to this page a pop-op message is displayed that says: "php.exe has encountered a problem and needs to close." And it gives you the option to send a report to Microsoft. This is the standard program crash message for XP. I select "Don't Send" and then the following error appears in the browser: [START] CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: [END] SYSTEM: I am using PHP 4.1.1, IIS5 and Windows XP. I've installed the php.exe in IIS with extension .php, "All Verbs" selected, "Script Engine" checked, and "Check that file exists" checked. SUMMARY: I've check the other bug reports with this similiar error, but they are reporting the problem with use of header() calls. In the code, if I comment out the session_start() it works fine. I also have tried this script in Virtual and non-Virtual directories on IIS - both return the error. I have other fairly complex scripts running on this server (that don't use sessions) that are working fine. Any ideas? -Jon Graham ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15889&edit=1