I need to implement some functionality on my site that allows the use to create a library of files and then click a button to download them.

Some of the files are fairly large so the total size of all the files needing zipped could be as much as 500MB if not more.


So my first question: Is this feasible to do using PHP or would these large file sizes cause memory errors on the server? Note the site is on a VPS.

If it is possible, can you suggest how to achieve this and what the most efficient way to do it is.

Ideally I would like the zip to automatically download to the users PC when it has been created.

Any advice much appreciated.

Thanks