php5.3开启gzip

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:43:49943browse

找到php.ini并编辑

output_buffering = Off
output_handler =
zlib.output_compression = On

这3个选项设置如上所示,重启apache

然后在google浏览器里打开网站,按f12查看请求头


Statement:
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