Board logo

标题: [求助] 环境 nginx+apache【 flush();无效果】 [打印本页]

作者: 1182253260    时间: 2014-12-23 23:40     标题: 环境 nginx+apache【 flush();无效果】

环境 nginx+apache【 flush();无效果】

测试代码如下
  1. <?php
  2. ob_end_clean();
  3. echo str_repeat(' ',4069);
  4. set_time_limit(0);
  5. for($i=0;$i<10;$i++){
  6. echo "Now Index is :". $i."<br>";
  7. ob_flush();
  8. flush();
  9. sleep(1);
  10. }
  11. ?>
复制代码

作者: 66eagle    时间: 2018-8-29 14:28

是呀。 怎么设定呢。 组合时




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2