How to increase the files upload limit in PHP

When you are working with multiple files upload in PHP, it is necessary to increase the maximum number of files to upload. By default, you can upload 20 files via a single request. If you want to upload more than 20 files, you should need to modify the max_file_uploads variable value in php.ini file.

max_file_uploads variable holds the maximum number of files that can be uploaded via a single request. To increase the files upload limit, follow the below steps.

 Open the php.ini file.

 Search for max_file_uploads variable and change the value as per your need.


Leave a reply