dongli7870 2012-10-19 13:25
浏览 58
已采纳

在IIS上编辑FastCGI中的MaxRequestLen(Plesk)

I am receiving a 500 Internal Server Error when trying to upload large files on my server. All of my PHP settings are correct, i.e. post_max_size, execution_time etc...

I am pretty certain it is a restriction with FastCGI as that is what most websites are telling me. However, all of these websites are referring to servers running Apache, and therefore the fix is simple (just edit the conf file). As I am running IIS, the problem is a little more complicated!

Does anybody have any idea how I can edit the 'MaxRequestLen' value for FastCGI in IIS? I cannot seem to find a way to do it, not helped by the fact that I am not very familiar with IIS.

If this is not the issue, then please suggest other causes of the problem uploading large files with IIS and FastCGI

  • 写回答

1条回答 默认 最新

  • douxi7219 2012-10-22 13:12
    关注

    After looking at this question for hours, and after a lot of fiddling around on the server with configurations etc, it turned out to be a bug in PHP. The bug has been reported here:

    https://bugs.php.net/bug.php?id=63330

    Anybody wanting to see an explanation of the bug and what caused this issue, please refer to:

    PHP Upload - 500 Internal Server Error

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看