Zlib support in PHP is not enabled by default. You will need to configure PHP --with-zlib[=DIR]
PHP 的 Windows 版本已经内置该扩展模块的支持。无需加载任何附加扩展库即可使用这些函数。
Note: Built-in support for zlib on Windows is available with PHP 4.3.0.