0

Changing the output buffer cache

 2 years ago
source link: https://help.dreamhost.com/hc/en-us/articles/4542252903828-Changing-the-output-buffer-cache
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Changing the output buffer cache

If the PHP version of your domain is set to run PHP FastCGI, the PHP functions flush(), ob_flush(), and ob_implicit_flush() will not function as expected.

By default, output is buffered at a higher level than PHP (specifically, by the Apache module mod_deflate which is similar in form/function to mod_gzip).

Solution

If you need unbuffered output, you must either use CGI (instead of FastCGI) when selecting your site's PHP version, or contact support to request that mod_deflate be disabled on your site.

See also

Did this article answer your questions?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK