Modify phpmyadmin import file size _ PHP Tutorial

Source: Internet
Author: User
Modify the phpmyadmin file size. If we use phpmyadmin to import the file and find that the file is too large to be imported successfully, then Baidu knows that we can modify php. ini parameters to modify the size of the phpmyadmin import file. if we use phpmyadmin to import the file, we will find that the file is too large to be imported. later, Baidu will know that we can modify php. ini parameters to modify the size of the phpmyadmin import file. if you encounter this problem, refer.

Method


Modify the configuration parameters of the php file size.

Upload_max_filesize
Memory_limit
Post_max_size

The above three values in the php configuration file (default php. ini) must be increased.

Find the upload_max_filesize, memory_limit, and post_max_size parameters.

Upload_max_filesize: the size of the uploaded file.

Memory_limit

Maximum value of data submitted by post_max_size

Change it to the data you want. For example, here I changed it to 300 M. after the modification is complete, save and exit, and then restart the system:

Sudo/etc/init. d/apache2 restart

When importing the phpmyadmin file, Baidu found that the file was too large to be imported. later, Baidu realized that we could modify several parameters in php. ini to modify the size of the phpmyadmin import 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.