如何克服在 Windows 2003 IIS6 上运行的 Wordpress 3.1 中的最大上传大小限制
我正在尝试增加在Windows 2003 iis6上运行的wordpress 3.1多站点安装的最大上传大小,但是我尝试的所有方法(从编辑php.ini,将其放入wp-admin以及根目录,编辑htaccess,编辑metabase.xml,重新启动服务器)什么也没有给出,我仍然得到同样的错误,说文件超过允许的2MB....这令人沮丧...任何解决方法,请一步一步步骤...谢谢!
感谢 isapi,我有了漂亮的 url,但是这让我很沮丧,因为我无法上传任何音频 mp3 文件,问题出在哪里?
i am trying to increase the max upload size in wordpress 3.1 multisite-installation running on windows 2003 iis6, but all methods i try (from editing php.ini, putting it in wp-admin as well as in the root, editing the htaccess, editing the metabase.xml, restarting the server) give nothing, i still get the same error saying that the file exceeds the allowed 2MB....that's frustrating... any workaround and please, step by step...thanks!
i have my pretty urls thanks to isapi, but this - this frustrates me since i can't upload any audio mp3 file, where is the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PHP 有这两个控制上传文件的设置:
您是否修改了这两个设置?此外,IIS 有一个默认为 2MB 的 AspMaxRequestEntityAllowed 配置数据库属性。您可以使用 IIS 管理器应用程序对其进行修改。
PHP has these two settings that govern uploading files:
Have you modified both of those? Additionally, IIS has an AspMaxRequestEntityAllowed metabase property that defaults to 2MB. You can modify it with the IIS manager application.