To solve the phpMyAdmin import 2M above the large file limit method sharing _php Tutorial

Source: Internet
Author: User
To deal with this problem, a study has found that there are 2 ways:

Method One:

Find PHP.ini Search These 3 places upload_max_filesize, Memory_limit and Post_max_size
It would be nice to change the value behind them to larger than the size of the database you need to import.
Then restart the PHP environment.

Method Two: Take Phpmyadmin-3.1.0-all-languages as an example, my installation directory E:\wwwroot\phpMyAdmin\

1. Create a new directory upload in the phpMyAdmin directory.

2. Open PhpMyAdmin, locate the E:\wwwroot\phpMyAdmin\config.sample.inc.php file, locate and modify it as $cfg [' uploaddir '] = "upload"; then click Save.

Then open the E:\wwwroot\phpMyAdmin\libraries\config.default.php file and locate and modify it as $cfg [' uploaddir '] = "upload"; then click Save.

3. Upload the SQL file you want to import with FTP to phpmyadmin/upload/

4. To access phpMyAdmin, click Import (Import), the Select the file on the Server drop-down box, select the SQL file just uploaded with FTP. This is the perfect solution.

When you finally open http://www.xx.com/phpmyadmin/login, click Import to see.

http://www.bkjia.com/PHPjc/780485.html www.bkjia.com true http://www.bkjia.com/PHPjc/780485.html techarticle to deal with this problem, a study found that there are 2 ways: Method One: Find PHP.ini search for these 3 places Upload_max_filesize, Memory_limit and post_max_size will be behind them ...

  • Related Article

    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.