It seems the "flush"s in index.php crash when php.ini configurated with zlib.output_compression = on
Is there any way to make it works with zlib.output_compression on?
Regards,
Steve
Quote from: "mlevy at rgj dot com on http://www.php.net/zlib"If you turn zlib.output_compression_level on, be advised that you shouldn't try to flush() the output in your scripts. PHP will add the gzip header but send the output uncompressed, which plays havoc with Mozilla. IE seems to handle it, though.
My advice would be to enable gzip compression instead if possible, since the whole concept of coppermine is based on using output buffering and flushing the content of the page.
GauGau
Quote from: "gaugau"Quote from: "mlevy at rgj dot com on http://www.php.net/zlib"If you turn zlib.output_compression_level on, be advised that you shouldn't try to flush() the output in your scripts. PHP will add the gzip header but send the output uncompressed, which plays havoc with Mozilla. IE seems to handle it, though.
My advice would be to enable gzip compression instead if possible, since the whole concept of coppermine is based on using output buffering and flushing the content of the page.
GauGau
My situation is when I enable gzip compress of php, I can view the admin page but not the main page (index.php). Everything in IE become garbage. Is my php or apache misconfigured?
Thanks,
Steve
probably. Switch compression off, who needs it anyway?
GauGau