案例
下载压缩的批量文档
国家
Php info返回:
PHP Version => 5.5.16
ZIP-based phar archives => enabled
gzip compression => enabled
bzip2 compression => disabled (install pecl/bz2)
Native OpenSSL support => enabled
发生了什么
这一行:
$zip = new ZipArchive(); // is giving the error of Class 'ZipArchive' not found
这一个:
extension_loaded('zip') //is giving null
问题
是否有一个库应该包含在代码中,如require_once(library)? 出了什么问题? 谢谢 !