Keep in mind that you cannot simultaneously set output_handler to
ob_gzhandler() and enable zlib.output_compression (discussed next).
zlib.output_compression = On | Off | integer
Scope: PHP_INI_SYSTEM; Default value: Off
Compressing output before it is returned to the browser can save bandwidth and
time. This HTTP/1.1 feature is supported by most modern browsers and can be safely
used in most applications. You enable automatic output compression by setting
zlib.output_compression to On. In addition, you can simultaneously enable output
compression and set a compression buffer size (in bytes) by assigning zlib.output_
compression an integer value.
zlib.output_handler = string
Scope: PHP_INI_SYSTEM; Default value: NULL
The zlib.output_handler specifies a particular compression library if the zlib
library is not available.
34 CHAPTER 2 ?– CONFIGURING YOUR ENV IRONMENT
implicit_flush = On | Off
Scope: PHP_INI_SYSTEM; Default value: Off
Enabling implicit_flush results in automatically clearing, or flushing, the output
buffer of its contents after each call to print() or echo(), and completing each embedded
HTML block. This might be useful in an instance where the server requires an unusually
long period of time to compile results or perform certain calculations. In such cases,
you can use this feature to output status updates to the user rather than just wait until
the server completes the procedure.
Pages:
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114