PHP解压缩非常大的文件 [英] PHP Unzip very large file

查看:154
本文介绍了PHP解压缩非常大的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在服务器上有一个zip文件.它的1.1gb由成千上万个小文件组成.我没有对服务器的shell或root访问权限,只能使用ftp并创建php文件..到目前为止,我已经尝试了exec和shell exec,但均无济于事.服务器正在运行免费的bsd.如何将文件解压缩到文件所在的目录中?

I have a zip file on the server. It's 1.1gb made up of thousands of small files. I do not have shell or root access to the server and can only use ftp and create php files.. so far I have tried exec and shell exec but none worked. The server is running free bsd. How can I unzip the file into the directory it is in?

推荐答案

感谢大家的建议.我最终修改了此问题中的代码以解压缩文件.

Thanks for the suggestions everyone. I ended up modifying the code in this question to unzip the files.

使用php解压缩文件

这篇关于PHP解压缩非常大的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆