PHP flushing output as soon as you call echo

前端 未结 6 759
有刺的猬
有刺的猬 2020-12-22 08:47

I thought flush(); would work, at least from what Google/Stackoverflow tell me, but on my Windows WAMP (Windows, Apache, MySQL, PHP) system it doesn\'t work.

6条回答
  •  暖寄归人
    2020-12-22 09:34

    If the problem persists, although you explicitly set

    implicit_flush = yes 
    

    in your php.ini, you might also want to set

    output_buffering = off
    

    which did the trick in my case (after pulling my hair for 4+hrs)

提交回复
热议问题