Re: readfile() memory usage

From: Date: Tue, 01 May 2012 13:55:31 +0000
Subject: Re: readfile() memory usage
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-60390@lists.php.net to get a copy of this message
On Tue, 01 May 2012 15:39:56 +0200, Paul Reinheimer <preinheimer@gmail.com> wrote:
Fascinating. I even verified the md5sum of the file I got on the other end just to be sure. I'll hold off on the blog post then. :-) I look forward to your test setup.
The server in question is still on PHP 5.2.13 [...] I'll try something newer, but I wanted to prove myself not crazy and do it on the server in question first.
Unfortunately, you've ignored Uwe's e-mail... The problem is not the PHP version; the problem is that you're buffering unlimited amounts of data. Check your configuration and make sure ob_get_level() returns 0. -- Gustavo Lopes

« previous php.internals (#60390) next »