search
HomeCMS TutorialEmpire CMSSolution 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)

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

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!

Statement
This article is reproduced at:www.word666.com. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Atom editor mac version download

Atom editor mac version download

The most popular open source editor