[imp] using external zip binary rather than loading file into memory

Chuck Hagenbuch chuck at horde.org
Wed Oct 25 16:58:27 PDT 2006


Quoting Joe Auty <jauty at indiana.edu>:

> We are running out of memory on some machines when a user tries to   
> zip up and download one of their folders. To deal with this issue,  
> we  are looking at calling upon an external zip binary (e.g.  
> /usr/bin/ zip) via a PHP exec command.
>
> I'm having a bit of a hard time making sense of horde/lib/Horde/  
> Compress/zip.php though. Has anybody here attempted a hack like this  
>  before, or have any suggestions how I would go about doing this?

You probably don't want to hook in inside Compress_zip, I'd do it  
where we call Compress_zip in IMP.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the imp mailing list