nginx uses high ram

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


khizar Wrote:
-------------------------------------------------------
> here the situation is i have to read file using
> php
> m using the below code
> 
> 
> 
> <?php
> header('some require header');
> $fp="filename.file";
> while(!feof($fp))
> echo fread($fp,8192);
> fclose($fp);
> ?>
> 
>
sorry in above code
$fp=fopen('filename.file','rb');

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




More information about the nginx mailing list