The php superglobal variable $_ SERVER ['SCRIPT_FILENAME'] is not consistent with the case of the file name actually executed

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


is your file name index.phP?


you can also consider changing it to linux

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45d91-440ae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45d91-440ae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?