Note 003PHP failed to upload file more than 8 MB if you have already added php. in the ini configuration file, upload_max_filesize = 2 M is changed to a relatively large value, for example, 20 M. However, when you upload the file, it is found that the upload will fail once the file exceeds 10 M.
Once this problem occurs, you should pay attention to it, because the configuration to restrict the file upload size is not only one of them, but also another configuration originally: post_max_size = 8 M. This is to limit the size of a single post Upload. You can see why an error is reported when the upload exceeds 10 MB (in fact, an error occurs when the upload exceeds 8 MB.
In fact, I have encountered this problem before and solved it. However, after a long time, I never used it again and forgot it. So quickly run up to write a log, so as not to forget it again in the future.
The above is the content that failed to upload files over 8 MB in notes 003 PHP. For more information, see PHP Chinese website (www.php1.cn )!