Failed to upload File larger than 8 MB in notes 003PHP

Source: Internet
Author: User
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 )!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.