Modify the limit on the size of PHP downstream files

Source: Internet
Author: User
Modify the PHP file size limit. inimax_execution_time = 0. this is the maximum running time of each script, in seconds. 0 indicates that max_input_time = 0 is not restricted. this is the time that each script can consume, and the unit is second, 0 indicates that memory_limit = 256 M is not restricted. this is the maximum limit for modifying the size of PHP files uploaded by the script.

Modify php. ini
Max_execution_time = 0. this is the maximum running time of each script, in seconds. 0 indicates no limit.

Max_input_time = 0, which is the time that each script can consume. unit: Second. 0 indicates no limit.

Memory_limit = 256 M. This is the maximum memory consumed by script operation. can you change the value to 256 M based on your needs?
Post_max_size = 200 M, maximum data submitted by a form. this item does not limit the size of a single file, but restricts the submitted data of the entire form.
Upload_max_filesize = 180 M, maximum file upload license size

In addition, 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.