私人领地

phpmyadmin 上传超过50m限制

sql文件太大(达到400m),导致无法正常导入。需要修改php,nginx的配置文件

php.ini配置

post_max_size = 500M
upload_max_filesize = 500M

 

nginx.conf 配置

server_name www.bt.cn;
        index index.html index.htm index.php;
        root  /www/server/phpmyadmin;
        client_max_body_size 500M;    // 加入此项

 

posted @ 2019-03-27 17:57  狂奔的蜗牛Snails  阅读(1668)  评论(0编辑  收藏  举报