Environment:
windows2008 R2, iis7.5 + php5.5 (fastcgi)
problem description:
after the server has been running for a period of time, the current script file name contained in the $_ SERVER ["SCRIPT_FILENAME"] variable in a script does not match the case of the actual script file name.
if the actual script file name is "index.php" and this variable returns "index.phP" (incorrect case), only one script has a problem, and all other script files are normal.
the script file name has not been modified, and the hyperglobal variable has not been modified in the code. If a problem occurs, you can restart the iis server and return to normal.
what could be the cause of this? Currently, the solution can only be solved by restarting the iis server