To modify the php file size limit

Source: Internet
Author: User
To modify the PHP upload file size limit

Modify PHP.ini
Max_execution_time = 0, this is the maximum time per script to run, in seconds, 0 means no Limit

Max_input_time = 0, which is the time each script can consume, the unit is the second, and 0 means no limit

Memory_limit = 256M, this is the maximum memory consumed by the script, change the value of 256M according to your needs?
Post_max_size =200m, the form submits the maximum data, which does not limit the size of a single file, but rather limits the submission data for the entire form
Upload_max_filesize = 180M, maximum license size for uploaded files

It is also stated that the post_max_size is better than upload_max_filesize.

  • 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.