Windows Server 2008 R2:上传限制 [英] Windows Server 2008 R2: upload limit
本文介绍了Windows Server 2008 R2:上传限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的 win 2008 r2 服务器上运行 php,上传大于 1MB 的文件时遇到问题.我已经检查了我的 php.ini 中的限制 - 并重新启动了服务器,但没有帮助.
i'm running php on my win 2008 r2 server and i'm experiencing problems when uploading files bigger than 1MB. i've already checked the limits in my php.ini - and restarted the server but it didn't help.
这些是我的价值观:
post_max_size 128M
upload_max_filesize 128M
还有什么可能是错误的想法吗?
any ideas which could still be wrong?
谢谢
推荐答案
我不久前遇到了同样的问题,仅适用于您使用 IIS7+ 的情况(尚未使用以前的版本进行测试):
I had the same issue a while ago, only applies if you use IIS7+ thou (haven't tested with previous versions):
- 打开IIS 管理器
- 选择网站可以上传更大的文件
- 双击请求过滤图标,您应该会看到一个带有一些选项卡的屏幕
- 右键点击标签并选择编辑功能设置
- 调整允许的最大内容长度(字节)字段
- Open IIS manager
- Select the website for which bigger uploads should be available
- Double click the request filtering icon, you should see a screen with some tabs
- Right click in a tab and select edit feature settings
- Adjust the Maximum allowed content length (bytes) field
这对我有用
这篇关于Windows Server 2008 R2:上传限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文