Import file size limit in PHPMyAdmin

后端 未结 27 2640
遇见更好的自我
遇见更好的自我 2020-11-27 08:46

I have changed all the php.ini parameters I know: upload_max_filesize, post_max_size.

Why am I still seeing 2MB?

Im using Zend Serv

27条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 09:23

    Check your all 3:

    • upload_max_filesize
    • memory_limit
    • post_max_size

    in the php.ini configuration file

    * for those, who are using wamp @windows, you can follow these steps: *

    Also it can be adapted to any phpmyadmin installation.

    Find your config.inc.php file for PhpMyAdmin configuration (for wamp it's here: C:\wamp\apps\phpmyadminVERSION\config.inc.php

    add this line at the end of the file BEFORE "?>":

    $cfg['UploadDir'] = 'C:\wamp\sql';
    

    save

    create folder at

    C:\wamp\sql 
    

    copy your huge sql file there.

    Restart server.

    Go to your phpmyadmin import tab and you'll see a list of files uploaded to c:\wamp\sql folder.

提交回复
热议问题