locked
No REQUEST_URI in PHP under IIS 8.5 FastCGI RRS feed

  • Question

  • User1469064280 posted

    Hi there,

      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:

    http://support.microsoft.com/kb/2277918

    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?

      Thanks,

    Toby

    Thursday, January 29, 2015 10:07 AM

Answers

  • User1183424175 posted

    Hi,

    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:

    http://support.microsoft.com/kb/2277918

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, January 30, 2015 12:38 AM