shopex/wordpress/phpcmsv9/discuz/thinkphp程序中关闭gzip压缩方法
1.shopex:
config/config.php define(‘WITHOUT_GZIP’,false);改为define(‘WITHOUT_GZIP’,true);
2.wordpress:
模版ob_start(‘ob_gzhandler’)改为ob_start();或者
// if (extension_loaded(‘zlib’) && !ob_start(‘ob_gzhandler’))
ob_start();
3.phpcmsv9:
caches/configs/system.php ‘gzip’ => 1
4.discuz:
config_global.php $_config[‘output’][‘gzip’] = ‘1’;
5.thinkphp 框架的程序:
install\conf\config.php | thinkphp\conf\convention.php
‘OUTPUT_ENCODE’ => false,
亲爱的:若该文章解决了您的问题,可否收藏+评论+分享呢?
文章评论 本文章有个评论