Home > CMS Tutorial > Empire CMS > Solution to the problem that Sharing Empire CMS can only upload 20 files at a time (max_file_uploads)

Solution to the problem that Sharing Empire CMS can only upload 20 files at a time (max_file_uploads)

silencement
Release: 2019-11-29 13:42:42
forward
2583 people have browsed it

Solution to the problem that Sharing Empire CMS can only upload 20 files at a time (max_file_uploads)

Recently when using Empire CMS, I discovered a problem: when uploading files or pictures, you cannot upload more than 20 files or pictures at one time. If you exceed 20, you can only succeed 20 times.

, and the rest failed. Check that the file size is not large and does not reach any of the limits of memory_limit, post_max_size, and upload_max_filesize in PHP.

So the problem is not here. Finally, I discovered that it was a problem with the max_file_uploads configuration.

Recommended to study "Empire cms tutorial"

max_file_uploads is a parameter added in php5.2.12 and newer versions. This parameter is to set the maximum number of uploaded files each time (Maximum number of files

that can be uploaded via a single request), files exceeding this number will be discarded. So setting the value of max_file_uploads to the maximum number of

files you may use can successfully solve this problem.

We open PHP.ini and look for max_file_uploads. If it does not exist, create max_file_uploads under; File Uploads;. If it exists, it can be modified normally and set as follows.

max_file_uploads=100
Copy after login

After setting up, save php.ini and restart the server.

The above is the detailed content of Solution to the problem that Sharing Empire CMS can only upload 20 files at a time (max_file_uploads). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:www.word666.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template