Welcome Guest, Not a member yet? Register   Sign In
Zip library "Allowed memory size"
#7

You can either do it like @futurewebs said. Or you will need to execute and compress those file outside of PHP with exec().
@futurewebs will be executed and will suffer the browser, server (apache/nginx) and/or PHP timeout. If you execute it outside PHP it will run on the server. But you will then need to look for said file at X interval (with Ajax) and see if it's done*.

* Should be last timestamp, haven't made a function like that in a while. Or you need to log tar/zip to a file and look for the "done" message there.
Reply


Messages In This Thread
Zip library "Allowed memory size" - by ZoeF - 01-19-2020, 01:10 PM
RE: Zip library "Allowed memory size" - by ZoeF - 01-20-2020, 12:20 AM
RE: Zip library "Allowed memory size" - by ZoeF - 01-20-2020, 09:28 AM
RE: Zip library "Allowed memory size" - by jreklund - 01-20-2020, 01:01 PM
RE: Zip library "Allowed memory size" - by ZoeF - 01-21-2020, 07:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB