一、 修改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