Home  >  Article  >  Backend Development  >  环境-php中for循环的堵塞问题

环境-php中for循环的堵塞问题

WBOY
WBOYOriginal
2016-06-02 11:32:02929browse

环境php阻塞

for($i=0;$i{
print "value is now".$i."
";
ob_flush();
flush();
sleep(1);
}
?>

同时打开多个此页面,总是在循环完成后后续页面才能执行,阻塞了,是php环境哪里出错了吗。

php5.5.3
lighttpd
嵌入式ARM板

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn