Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i change max_file_uploads? [duplicate]

Possible Duplicate:
PHP see only 20 uploading files at a time

I tried changing it in php.ini development and production. but still I am unable to upload files more than 20 at the same time. I have checked current setting using phpinfo(); but still showing max_file_uploads is 20 not showing changed value in php.ini.

like image 774
user1933652 Avatar asked Dec 28 '12 06:12

user1933652


People also ask

What is Max_file_uploads limit?

If you cannot upload more than some specific number of images at once for product options or option combinations, then it may be because of a PHP setting that limits the number of files that can be uploaded at once. That setting is called max_file_uploads. The default value of max_file_uploads is 20.

How to increase max_ file_ uploads?

To increaes file upload size in PHP, you need to modify the upload_max_filesize and post_max_size variable's in your php. ini file. In addition, you can also set the maximum number of files allowed to be uploaded simultaneously, in a single request, using the max_file_uploads . Note that from PHP 5.3.


1 Answers

You have to change the values in php.ini file.Your php.ini file is in xampp\php\php.ini

You have to change both these values to be able to upload bigger files,

Example to change it into 100Mb set :

upload_max_filesize = 100M
post_max_size = 100M

Note: After you edit your php.ini file restart xampp or apache server to see the difference.

like image 169
Mevin Babu Avatar answered Sep 22 '22 20:09

Mevin Babu