我已将此代码添加到main.php
Yii 上的配置文件中以压缩 html 标记
'preload'=>array('log'),
'onBeginRequest' => create_function('$event', 'return ob_start("ob_gzhandler");'),
'onEndRequest' => create_function('$event', 'return ob_end_flush();'),
但我与 zlib 有冲突,我该如何解决?
ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression'