PHP flush stopped flushing in IIS7.5

前端 未结 7 1414
庸人自扰
庸人自扰 2020-12-06 07:06

We have been using php flush to \"blank\" a page immediately as soon as it is clicked, and also to send the navigation and main components of the page so that a page appears

7条回答
  •  难免孤独
    2020-12-06 07:37

    Enter the following command as Administrator in Powershell:

    C:\Windows\System32\inetsrv> .\appcmd.exe set config /section:handlers "/[name='PHP_via_FastCGI'].ResponseBufferLimit:0"
    

    Expected Output:

    Applied configuration changes to section "system.webServer/handlers" for "MACHINE/WEBROOT/APPHOST" at configuration comm it path "MACHINE/WEBROOT/APPHOST"

    For more background, have a look at: http://www.coastrd.com/cgioniis7

    Basically, we need to tell FastCGI to turn of its ResponseBufferLimit. This cannot be done through the IIS Management Console (checked only 7.5)

提交回复
热议问题