If you have already changed the php.ini configuration file upload_max_filesize=2m in order to compare large values, such as 20M, but when you upload, found that once the file is more than 10M, the upload will fail.
Once this phenomenon occurs, you should pay attention to, because the limit file upload size configuration is not only one place here, there is a configuration originally: Post_max_size = 8M. This place limits the size limit of a single upload via post. See here should be able to understand why upload more than 10M (actually more than 8M on the error) will fail.
In fact, I have encountered this problem before, and solved. But for a long time did not use again, and to forget. So hurry up and write a log, lest the future forget again.
The above is the note 003 PHP upload files More than 8M failed content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!