Adam O'Grady

Tue, Jun 21, 2016

Getting out-of-memory issues with large file downloads when using readfile($path)? PHP might be buffering, run this beforehand:

if (ob_get_level()) ob_end_clean();
© 2011–2021