我们可以增加最大上传执行时间吗? [英] Can We Increase The Max Upload Execution Time?

查看:70
本文介绍了我们可以增加最大上传执行时间吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近已使用WordPress复制器插件将我的网站从共享托管迁移到云托管.实际文件大小约为800MB,由于服务器发出超时错误,因此要花费大量时间.无论如何,我们可以增加服务器

I have recently migrate my website from shared hosting to cloud hosting using WordPress duplicator plugins. The actual file size is around 800MB which take a lot of time due to which server gives time out error. Is there anyway we can increase the server execution time manually?

推荐答案

I suggest you, increase the upload limit by specifying the "maxAllowedContentLength" property in your web.config file and see if it resolves your issue.

例如:

Ex:

<configuration>
   <system.webServer>
      <security>
      <requestFiltering>
<requestLimits maxAllowedContentLength="<valueInBytes>"/>
     </requestFiltering>
      </security>
   </system.webServer>
</configuration>

 

 

如果存在不是web.config文件,则应在wwwroot位置下创建一个文件,并相应地更新配置.

更多详情请参阅 将大型文件上传到Azure Web Apps .

For more details, refer to Uploading Large Files to Azure Web Apps.

- -------------------------------------------------- --------------------------------------
如果此答案有帮助,请单击标记为答案"或上投票".要提供有关您的论坛体验的其他反馈,请单击 span> .

------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here.


这篇关于我们可以增加最大上传执行时间吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆