nginx uses high ram

khizar nginx-forum at nginx.us
Wed Jan 12 15:15:02 MSK 2011


here the situation is i have to read file using php
m using the below code

[code]

<?php
header('some require header');
$fp="filename.file";
while(!feof($fp))
echo fread($fp,8192);
fclose($fp);
?>

[/code]

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,165534,165546#msg-165546




More information about the nginx mailing list