Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
420 views
in Technique[技术] by (71.8m points)

php - Increase the limit of file download size in Document management system

I am using the Document Management System which is created on KnowledgeTree frame work. My goal is to Download the stored files. When the files are downloaded the contents are limited to certain mb and the rest is ignored. Which results in downloading in parts. How can I increase the file download limit so that the whole file can be downloaded in a single attempt. Thanks in advance for your time.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

To download large files from server, I have changed the below settings in php.ini file:

Upload_max_filesize  - 1500 M
Max_input_time  - 1000
Memory_limit    - 640M
Max_execution_time -  1800
Post_max_size - 2000 M

Now, I am able to upload and download 175MB video on server. Since, I have the dedicated server. So, making these changes were easy.

See this link


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...