jrjong's avatar

maximum upload file number problem

hello. in my program i have a part for uploading images. I want that users can RoadRunner Email upload more than 20 images.in localhost, i change xampp setting and it solved. but in Cpanel i can not do this work. even i upload php.ini file in laravel folder in CPanel but it does not have any effect and just 20 images are uploaded not more.

0 likes
1 reply
meeshal's avatar

You'll have to change the ini settings in the cpanel UI, not upload you local ini file to production.

There maybe more than one problem,

  1. your combined file size is maybe more than max_upload_size
  2. Number of files exceeds max_file_uploads

In both the cases follow this: https://chemicloud.com/kb/article/how-to-increase-the-max_file_uploads-limit-in-cpanel/

It's also wise to increase other limits like max post input size etc, to match your max file upload limits.

Please or to participate in this conversation.