修改php.ini中的几个配置 upload_max_filesize = 2M 修改为 upload_max_filesize = 20M (自由定义) post_max_size = 8M 修改 post_max_size = 20M (自由定义) 修改后重启下apache或者iis