We're uploading about 500 images at a time
max_file_uploads = 600 memory_limit = 200M ( most images are 12-15KB ) post_max_size = 200M
Why are we still getting that warning?
EDIT: All these variables are set in the php.ini file and confirmed by checking using phpinfo();
The default PHP values are 2 MB for upload_max_filesize, and 8 MB for post_max_size.
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 .
The PHP script won't even start executing until all the files have been uploaded. That means that you cannot change the max_file_uploads
directive from within PHP, e.g. with ini_set()
: you need to do it in the php.ini
file. Otherwise, when you change the setting the limit has already been hit.
add max_file_uploads=500 to php.ini
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