Question

What is the syntax for setting output_buffering to off in .htaccess?

Provide a complete .htaccess file content please?

Was it helpful?

Solution

This is isn't really a hard thing to find. Anyway, you need to make sure you have PHP running as an apache module for this to work in .htaccess.

http://php.net/manual/en/configuration.changes.php

<IfModule mod_php5.c>
  php_value output_buffering Off
</IfModule>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top