Last updated July 31, 2009. Created by MichaleR on August 24, 2003.
Edited by kenorb, moshe weitzman, killes@www.drop.org, Jeremy. Log in to edit this page.
- If you have CPU cycles to spare, or if bandwidth is a more constrained resource than CPU cycles, you can add the following to php.ini:
output_handler = ob_gzhandler
A comment in php.ini explains:
"You can redirect all of the output of your scripts to a function. For example, if you set output_handler to 'ob_gzhandler', output will be transparently compressed for browsers that support gzip or deflate encoding. Setting an output handler automatically turns on output buffering."
This functionality is further described here.
- very interesting presentation from a PHP developer
- Increase PHP memory limit
Additional resources: