常见程序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,

转载自:豫章小站 » 《常见程序shopex/wordpress/phpcmsv9/discuz/thinkphp关闭gzip压缩方法》

 

你可能感兴趣的:(常见程序)