Home > Backend Development > PHP Tutorial > php5.3开启gzip

php5.3开启gzip

WBOY
Release: 2016-06-23 13:43:49
Original
866 people have browsed it

找到php.ini并编辑

output_buffering = Off
output_handler =
zlib.output_compression = On

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

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


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