简体   繁体   English

PHP zip-> open返回错误代码5(读取错误)

[英]PHP zip->open returns error code 5 (Read Error)

We had a site running, that uses the php zip functionality. 我们有一个运行中的站点,该站点使用php zip功能。 Everyhthing worked fine for month - now we moved to a new server and the script doesn't work! 每个月的一切工作正常-现在我们移至新服务器,脚本无法正常工作!

$zip->open() returns error Code 5 what is a read error. $ zip-> open()返回错误代码5,这是读取错误。

I found out, that it has to do with the size of the zip files, as they are about 60mb. 我发现,这与zip文件的大小有关,因为它们约为60mb。 Smaller sizes about 30mb are working. 较小的大约30mb的大小正在工作。

What could be the reason for that? 可能是什么原因呢? I didn't find any configuration possiblility about the size of zip files! 我没有找到有关zip文件大小的任何配置可能性!

Thanks, Manu 谢谢,Manu

压缩文件中是否包含很多文件,如果是的话,您可能遇到了此处描述的错误: http : //bugs.php.net/bug.php?id=40873

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

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