There seems to be a minor bug/glitch in our Request_URI for Windows that we can’t figure out, so if anyone has any idea, please give us a holler, or post below if you like. Under times of high load (and sometimes without), PHP completely crashes and dies until the worker process is restarted with
Using $this not in object context as the “die message” that shows up for all requests. However, our script doesn’t use a class, and makes no calls to one either.
The actual line in question is
And there doesn’t seem to be any real reason for this to error out.
isset is a global function, and
$_SERVER['HTTP_REQUEST_URI'] is a global variable. It’s an illogical error that shouldn’t happen; especially seeing as it will work for days on end, then suddenly die. The fact that it totally kills PHP on the server should be a clue that a bug is indeed present, but there’s a little problem: it’s not reproducible.
If you can’t reproduce a bug and you’re not the developer, you might as well forget about getting it fixed. If it’s not reproducible, it’s unfixable. There’s a possibility however, that this is related to PHP Bug #39819 which discusses a segfault under NetBSD when this error occurs – but it’s not the same. A listing of all similar bugs doesn’t seem to turn anything up. We’re experiencing it on a Windows Server 2003 SP1 + IIS 6 + PHP 5.20, and have had reports from users on similar setups.