This question already has answers here:
Closed 7 years ago.
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
.
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.
You can set it with init_set() in your php file-
ini_set('max_file_uploads', 50);
OR you can try with .htaccess file. Put below line in your htaccess file.
php_value upload_max_filesize 10M