IIS 7.5 500大文件上传错误
问题描述:
我在尝试上传大文件(> 9-10Mb)时遇到了php上传脚本的问题。我快到的问题上可以看到的截图在这里:
http://thecreativefloor.com/capture.jpg
我已经改变了所有常用的区域(PHP INI设置,web.config设置,虽然我已经贴在下面他们参考文献),但现在这个人已经陷入了困境(如果这是我猜测它不会显示500错误的地区之一)。
我认为它必须是由于IIS中的某些问题,或者可能是脚本超时。这个脚本适用于9Mb以下的其他任何东西,只要我高于它就会崩溃。IIS 7.5 500大文件上传错误
任何帮助非常赞赏
尼克
PHP INI设置:
memory_limit的= 256M
的post_max_size = 800M
的upload_max_filesize = 800M
的Web.config另外:
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="524288000"/>
</requestFiltering>
</security>
答
你可能想看看这个web.config的设置,虽然它可能只适用于ASP.NET:
<httpRuntime maxRequestLength="16384" />
http://msdn.microsoft.com/en-us/library/e1f13641%28v=vs.71%29.aspx
http://www.jjclements.co.uk/2010/05/24/iis-500-internal-server-error-when-uploading-file-using-asp/ – powtac 2011-04-28 14:00:22
你应该在错误日志中提供更多提示网络服务器? – sdolgy 2011-04-28 14:00:42
http://serverfault.com/questions/19561/how-can-i-display-and-log-php-errors-on-iis7 – powtac 2011-04-28 14:01:48