1、找到nginx.conf
server_name www.bt.cn;
index index.html index.htm index.php;
root /www/server/phpmyadmin;
client_max_body_size 500M; // 添加这一行
2、php.ini
-
post_max_size = 500M
-
upload_max_filesize = 500M
-
这样限制就调整到了500M