Maximum limit in phpMyAdmin: 2,048 KB Solution

Source: Internet
Author: User
modification of the php.ini file.
Find PHP.ini Search these 3 places
1, find post_max_size, refers to the form post to PHP can receive the maximum value, including all the values in the form, the default is 8M, see you need to change.
2, look for file uploads, first confirm file_uploads = on; whether to allow the switch to upload files via HTTP, by default on is open. Upload_tmp_dir;
Find Upload_max_filesize, the maximum size that is allowed to upload files. The default is 2M.
3, if you want to upload >8m files, then only set the above four items can not be sure. It is best to set the following parameters:
Find Max_execution_time = 600, maximum time (in seconds) for each PHP page to run, default 30 seconds.
Max_input_time = 600, the maximum time required for each PHP page to receive data, default 60 seconds.
Memory_limit = 8M; The maximum memory consumed by each PHP page, the default 8M.


Second, modify the c:/phpmyadmin/import.php file.
To open the import.php file with WordPad:
1, find $memory_limit, default for $memory_limit = 2 * 1024 * 1024;
2, the bottom three or four line position has the same statement, own modification.


third, not to here, the problem of IIS.
1 Solution in IIS 6.0, unable to upload a large-capacity file method:
1, first in the service to shut down the IIS Admin Service services.
2, find windows/system32/inetsrv/under the MetaBase.xml file.
3, with WordPad Open, find aspmaxrequestentityallowed to change it to the desired value (the default is: 204800, that is: 200K).
4, save, and then restart the IIS Admin Service services, restart IIS.


2 to resolve in IIS 6.0, cannot download the attachment step of more than 4M:
1, first in the service to shut down the IIS Admin Service services.
2, find windows/system32/inetsrv/under the MetaBase.xml file.
3, with WordPad Open, find aspbufferinglimit to change it to the desired value (the default is: 4194304, that is: 4MB).
4, save, and then restart the IIS Admin Service services, restart IIS.


OK, there are more than three steps, PHP 2M limit completely buttoned up.




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.