[PHP-DEV] ob_gzhandler memory leak + readfile not working From: Ivan Petrovic (manic <email protected>)
Date: 01/27/01

Problems with php4.04pl1

Adding this line to php.ini is not enough:

output_handler = ob_gzhandler ;

I had to add:

header("Content-Encoding: gzip");

to PHP files. Then it worked. It is really nice feature and it speeds things
up. But the problem is, as some of you already reported, there is huge
memory leak. I hope it will be fixed soon.

Another thing:

When using gzipped output, it is impossible to use readfile(). Maybe this
function is not using cached output at all?

Regards
Ivan

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>