WAMP _ modify the size and time limit of the database file to be uploaded

Source: Internet
Author: User
WAMP _ modify the size and time of the database file to be uploaded. if the size of a file is dozens of megabytes, an error may occur during the upload because the execution time is not enough,

For example, the ECshop database file I encountered was the first execution failure of over 40 MB.

So simply set everything at once. Find the following content in the php. ini file:

"Max_execution_time =" value changed to 1200

The value of "max_input_time =" is changed to 1200.

The value of "memory_limit =" is changed to 256.

"Post_max_size =" indicates the size of the file to be uploaded.

"Upload_max_filesize =" is the same as the preceding value.

This setting ensures that the file size is correct for uploading.

Step 2: Solve the execution time error. "Maximum execution time of 300"

Seconds.

Config. inc. php: file path D: \ wamp \ apps \ phpmyadmin2.11.6. Find the file

Search for $ cfg ['exectimelimit '] = 300; changing 300 to 0 does not limit the time. of course, changing 30000000 to is random.

The test is successful. Tip: Import has been successfully finished, 1068 queries executed.

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.