安装

Zlib support in PHP is not enabled by default. You will need to configure PHP --with-zlib[=DIR]

PHP 的 Windows 版本已内建对此扩展的支持。不需要载入额外的扩展来使用这些函数。