wordpress 错误:错误的导出滑块文件格式!这可能是因为未启用 ZipArchive 扩展

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23487877/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 19:31:38  来源:igfitidea点击:

Error: Wrong export slider file format! This could be caused because the ZipArchive extension is not enabled

wordpressziparchive

提问by Marco Marsala

I'm getting this error while trying to import sliders in Revolution Slider Wordpress plugin:

尝试在 Revolution Slider Wordpress 插件中导入滑块时出现此错误:

Error: Wrong export slider file format! This could be caused because the ZipArchive extension is not enabled.

错误:错误的导出滑块文件格式!这可能是因为未启用 ZipArchive 扩展。

In my case the ZipArchive extension is installed and active (check: http://www.digitpro.it/tools/info.php) so none of other replies on the web applies.

就我而言,ZipArchive 扩展已安装并处于活动状态(检查:http: //www.digitpro.it/tools/info.php),因此网络上的其他回复均不适用。

回答by Yakir Sitbon

Looks like the ZipArchive PHPextension is not installed on your server.

ZipArchive PHP您的服务器上似乎未安装该扩展程序。

You can see there for more info: http://portfoliotheme.org/support/forums/topic/error-importing-sample-revolution-sliders/

您可以在此处查看更多信息:http: //portfoliotheme.org/support/forums/topic/error-importing-sample-revolution-sliders/

回答by Ruslan Hymanson

When upgrading to PHP 7, you should make sure to install the PHP 7 versions of you libraries as well. The PPA providing PHP 7 also provides a php7.0-zip package. You can install it with:

升级到 PHP 7 时,您应该确保同时安装 PHP 7 版本的库。提供 PHP 7 的 PPA 还提供了一个 php7.0-zip 包。您可以使用以下命令安装它:

sudo apt-get install php7.0-zip

To see additional PHP 7 libraries that are available, run:

要查看其他可用的 PHP 7 库,请运行:

sudo apt-cache search php7.0-*