PHP flush stopped flushing in IIS7.5

前端 未结 7 1401
庸人自扰
庸人自扰 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 08:04

    There is another way to set the Response Limit using the IIS Manager:

    1. On the server main page, under "Management", select "Configuration Editor";
    2. under "Section", enter 'system.webServer/handlers';
    3. next to "(Collection)" click "..." OR mark the element "(Collection)" and, under "Actions" und '(Collection)' Element, click "Edit Items";
    4. scroll down until you find your PHP version under "Name";
    5. at the bottom, the Properties are shown an can be edited manually, including responseBufferLimit, which should be set to 0 for flush() to work.

    The big Pro is that you can edit the properties for everything, not only PHP plus you can work with different versions (or even installations of the same version) of PHP.

    HTH

    0 讨论(0)
提交回复
热议问题