Home > Backend Development > PHP Tutorial > output_buffering相关解决思路

output_buffering相关解决思路

WBOY
Release: 2016-06-13 13:28:47
Original
828 people have browsed it

output_buffering相关
弱弱的问下,php。ini中,output_buffering的问题,大家知道,这个默认为off的,如果我要on他,或者设为4096,后面的两者有什么区别吗

------解决方案--------------------
有,output_buffering有时候会影响header函数,session和cookie。

如果要On和4096,我觉得On好像是设置默认值4096,看看PHP手册吧,好像有讲的。
------解决方案--------------------
放整数代表size
------解决方案--------------------
设置为on即可。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template