... I don't know how to ask this question ~~ Apachephp is using an open-source platform. this system provides the upload and download functions, it will package all the files into a zip package, and then let you download when a single file is relatively small (1 ~ 2 MB). when I click "Download All Files" (100 files), the system can still pack and download the files for me ~ However, when a single file is large (5 ~ 10 MB). when you click "Download All Files", the system looks like it will return... this question, I really don't know how to ask ~~ About apache php
Using an open-source platform, this system provides the upload and download functions.
For download, it will package all the files into a zip package and then let you download
When a single file is small (1 ~ 2 MB). when I click "Download All Files" (100 files), the system can still pack and download the files for me ~
However, when a single file is large (5 ~ 10 MB). when you click "Download All Files", the system does not seem to be able to return the zip package.
This may be related to the configuration, right? Which parameters should be adjusted?
By the way, the open-source platform is (moodle)
------ Solution --------------------
Is it a local environment? Is the memory set too small?
------ Solution --------------------
Enable the error prompt function to check whether an error is reported.
------ Solution --------------------
It is estimated that memory_limit is not large enough. add this sentence.
Ini_set ('memory _ limit ', '128m );
------ Solution --------------------
1. set the memory size.
2. set the execution time to avoid timeout.
------ Solution --------------------
10 M * 100 = 1000 M
Php also requires a workspace
Compressing a file also requires a certain amount of workspace (generally)