To modify the maximum upload size for a phpmyadmin file

Source: Internet
Author: User
Tags form post

Modify PHP.ini

1.file_uploads on whether to allow uploading of files via HTTP switch

2.upload_tmp_dir files are uploaded to the server where temporary files are stored, and if not specified, the system default Temp folder is used

3.upload_max_filesize 20m business, that is, allow file size upload

4.post_max_size 30m refers to the maximum value that can be received by a form post to PHP, including all values in the form.

upload A large volume of >8m files, only set the above four will certainly be able to pass. Unless your network really 100m/s upload high speed, otherwise you have to continue to set the following parameters

1.max_execution_time maximum time value per php page (seconds), default 30 seconds
2.max_input_time the maximum time required for each PHP page to receive data, default 60 seconds
3.memory_limit 128m max memory eaten per PHP page, default 8M

Sets the maximum size allowed for POST data. This setting also affects file uploads. To upload a large file, the value must be greater than upload_max_filesize.
If the memory limit is activated in the configuration script, Memory_limit also affects file uploads. Generally speaking, memory_limit should be bigger than post_max_size.

To modify the maximum upload size for a phpmyadmin file

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.