IIS 7 and Above
No REQUEST_URI in PHP under IIS 8.5 FastCGI
Last post Jan 30, 2015 12:38 AM by Pengzhen Song - MSFT
Jan 29, 2015 10:07 AM|tobym|LINK
I'm trying to evaluate a PHP setup under IIS 8.5 (which seems to be all that's available on Windows 8.1), it's...tricky.
It seems like it's almost there, but I can't get anything from $_SERVER['REQUEST_URI'] (apart from by hacking in PHP), it's always empty. I've seen this, in relation to IIS 7/7.5:
but I don't know how I could actually get my hands on that hotfix (or if it would work on 8.5)?
Can anyone help?
Jan 30, 2015 12:38 AM|Pengzhen Song - MSFT|LINK
You can try this fixing
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO
For more information, please refer to the document: