ID: 17424 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache related Operating System: Windows NT 4.0 SP6a + Fixes PHP Version: 4.2.1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-08-26 15:16:39] [EMAIL PROTECTED] This phenomenon may be directly related to bug #19113 (http://bugs.php.net/19113). ------------------------------------------------------------------------ [2002-06-11 09:02:29] [EMAIL PROTECTED] A similar problem occurs on Win98 SE with Apache 1.3.24 and PHP 4.2.1 (binary zip dist.) with default configurations: any scripts, even empty ones (<? ?>) fail with error 500 when the URL has a "?" at the end, with or without any actual GET parameters; once failed, the script will fail with every consequent call even without the query part (browser caching disabled - IE6). Apache error log has no sign of this, access log looks as if nothing went wrong (ie, the expected page content IS sent). Scripts with phpinfo() work fine. Besides, when I add phpinfo() to a failing script and reload the page, then remove it and reload again, everything works properly, but only until I change the query part, then it fails again. Sometimes PHP scripts with only HTML code in them also behave like this, sometimes not, but each particular script is persistant in its behavior. PHP 4.1 has no trouble with this. ------------------------------------------------------------------------ [2002-05-25 01:43:59] [EMAIL PROTECTED] Setup: * Windows NT SP6a with all the fixins' and none of the fat (No IIS, etc). * Apache 1.3.23, PHP as a module. Mostly default php.ini settings. Using the zip binary. I upgraded from PHP 4.1.1 to 4.2.0 on my site and immediately ran into problems with users of WebTV and other unreported browsers saying they could not access the site. Using Ethereal, I discovered that Apache was sending "500 Internal Server Error" along with the rest of the headers versus a HTTP 200, but was **STILL** sending the PHP generated HTML. There is no error reported in the Apache error log (the access log was too large to analyze on the server, and probably only says it served a "500" anyway) or any other clues in the HTTP headers. A typical page that generates this error would contain the following: <? $description = "bla bla"; $keywords = "bla bla"; $pagetitle = "bla bla"; include("page_header.php"); ?> ... some HTML here ... <? include("lower_content.html"); include("page_footer.php"); ?> Internet Explorer 5.5 SP2 and Netscape 4.78 appear to ignore the HTTP 500 message and pretend nothing happened. I'll see if I can get back with some more stats. (As a totally unrelated side note, the Microsoft SQL DLL is broken in the v4.1.0< win32 binary dist. Its build 'signature' doesn't match and the main PHP DLL detects, complains, and disables it.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17424&edit=1
