About how Discuz7.2 changes the attachment Upload size
Source: Internet
Author: User
For help, about how Discuz7.2 changes the attachment Upload size! Because I need to set the size of the uploaded attachment to 100 MB, but the default size of the Forum is 2 MB, I want to modify it, but I modified it: user-user group-details-Maximum attachment size in attachment-related items. I set it to 0 directly. it should not be limited, but the attachment size for uploading is more than 2 MB, about how Discuz7.2 changes the attachment Upload size!
Because I need to set the size of the uploaded attachment to 100 MB, but the default size of the Forum is 2 MB, I want to modify it, but I modified it: user-user group-details-Maximum attachment size in attachment-related items. I set it to 0 directly. it should not be limited, but it still cannot upload attachments larger than 2 MB, I also refreshed the cache and even restarted the Apache server on the Linux server. However, the information on the back-end homepage of the forum shows that the upload license is still 2 MB. I cannot find a solution. thank you very much for your help!
------ Solution --------------------
The configuration of the program has been changed, and the configuration in php. ini needs to be changed.
------ Solution --------------------
Upload_max_filesize = 2 M // maximum size of uploaded data
Post_max_size = 8 M // maximum POST data size
It seems that both of them need to be modified.
------ Solution --------------------
Uploading a batch is a problem with uploading the upload.swf file. The maximum size is 2 MB.
Normal upload is acceptable.
Set it in the attachment settings in the background.
You can set to only allow normal upload.
After you set the maximum PHP Upload size to 20 MB, you can see whether it works on the default homepage of backend management.
For different user groups and management groups, you must set the maximum size they can upload.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service