syntax for setting output_buffering in .htaccess? (php 5)

喜你入骨 提交于 2019-12-25 16:59:57

问题


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

Provide a complete .htaccess file content please?


回答1:


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>


来源:https://stackoverflow.com/questions/21561829/syntax-for-setting-output-buffering-in-htaccess-php-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!