一、 修改IIS的applicationhost.configphp
注:该节点下默认没有 <requestLimits maxAllowedContentLength="上传大小的值(单位:byte)" /> 元素。html
二、 web.config中添加以下内容web
<configuration>
<system.web>
<httpRuntime maxRequestLength="2097151" executionTimeout="120"/>
</system.web>
</configuration>app
一、IIS7->FastCGI设置->双击"php-cgi.exe"->"活动超时" 项默认是设置为70(秒),改成600(10分钟,此处根据需求设置能够略高~)post
二、网站站点:网站
在网站的高级设置里面,单击链接限制,默认为120秒,这里面更改的是每一个站点的spa
参考资料:.net
https://www.cnblogs.com/sell/p/4056823.htmlhtm
http://www.jb51.net/article/39436.htmblog