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
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.
max_file_uploads variable and change the value as per your need.