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

WBOY
Release: 2016-06-02 11:32:02
Original
929 people have browsed it

环境php阻塞

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

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

php5.5.3
lighttpd
嵌入式ARM板

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template