|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-10-24 12:05 UTC] alan at dunns dot co dot uk
Description:
------------
using zip->open(), zip->extractTo on a zip file less than (approx) 250mb works fine. Using it on a file size over 250mb it fails.
Reproduce code:
---------------
$zip = new ZipArchive;
$zip->open("/srv/ftp/bountywin/TEST/IN/Bounty_02695b.zip");
$zip->extractTo("/srv/ftp/bountywin/TEST/IN/TEMPDATA");
$zip->close();
Actual result:
--------------
Warning: ZipArchive::extractTo() [function.ZipArchive-extractTo]: Invalid or unitialized Zip object in /srv/www/vhosts/bountywebtest/test/test.php on line 12
Warning: ZipArchive::close() [function.ZipArchive-close]: Invalid or unitialized Zip object in /srv/www/vhosts/bountywebtest/test/test.php on line 13
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 19:00:01 2025 UTC |
I finally got the time to sit down and try this bug. I sadly can't reproduce it. Can you try it again using php 5.2.5? Please use the following code and paste the result here: $zip = new ZipArchive; $r = $zip->open("/srv/ftp/bountywin/TEST/IN/Bounty_02695b.zip"); var_dump($r); $r = $zip->extractTo("/srv/ftp/bountywin/TEST/IN/TEMPDATA"); var_dump($r); $r = $zip->close(); var_dump($r);