简体   繁体   English

phpmyadmin - 导入sql.zip文件

[英]phpmyadmin - import sql.zip file

I have LEMP dropet on digital ocean and setup phpmyadmin. 我有LEMP dropet在数字海洋和设置phpmyadmin。 It is working fine but I can't import script.sql.zip file. 它工作正常,但我无法导入script.sql.zip文件。 I got following error. 我收到了以下错误。

You attempted to load file with unsupported compression (application/zip). 您试图加载不受支持的压缩文件(应用程序/ zip)。 Either support for it is not implemented or disabled by your configuration. 您的配置未实现或禁用对它的支持。

May I know what configuration I need to change? 我可以知道需要更改哪些配置吗?

Regards, Alex 问候,亚历克斯

You need to install php-zip to solve it. 你需要安装php-zip来解决它。

aptitude search php | grep zip
aptitude install php-zip

Or simple unzip it, and then try to upload. 或者简单解压缩,然后尝试上传。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM