Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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();

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
646 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...