How to Increase Import Size Limit in phpMyAdmin

前端 未结 19 1919
萌比男神i
萌比男神i 2020-12-02 04:58

Does anyone know if or how you can increase the import size limit in phpMyAdmin? Currently my server is limited to 50MB.

Please note that this is no

19条回答
  •  难免孤独
    2020-12-02 05:11

    Change these values in php.ini

    post_max_size = 750M 
    upload_max_filesize = 750M 
    max_execution_time = 5000 
    max_input_time = 5000 
    memory_limit = 1000M 
    

    Then restart Wamp for the changes to take effect. It will take some time. If you get following error:

    Script timeout passed if you want to finish import please resubmit same zip file and import will resume.

    Then update the phpMyAdmin configuration, at phpMyAdmin\libraries\config.default.php

    /**
     * maximum execution time in seconds (0 for no limit)
     *
     * @global integer $cfg['ExecTimeLimit']
     */
    $cfg['ExecTimeLimit'] = 0;
    

提交回复
热议问题