php 在本地主机上启用 ZipArchive
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12477837/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Enable ZipArchive on localhost
提问by iSun
I need to enable ZipArchive php class on my localhost, How can I enable it !?
我需要在我的 ZipArchive php 类上启用,我该localhost如何启用它!?
回答by wesside
add extension=zip.soto your php.iniif you already have it installed (not sure what OS you're on)
如果您已经安装了它extension=zip.so,请添加到您的php.ini(不确定您使用的是什么操作系统)
Linux: pecl install zip
Linux: pecl install zip
Restart the web server once php.ini is edited.
编辑完 php.ini 后重新启动 Web 服务器。

