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
.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With