PHP中的上传限制和发布限制的上限 [英] Upper limit for Upload Limit and Post Limit in PHP
本文介绍了PHP中的上传限制和发布限制的上限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已将上传和发布限制选项更改为8000M.但是,当我尝试从只有12.4 MB的文本文件导入表格时,出现错误消息:
I have changed my upload and post limit options to 8000 M. However, when I try to import a table from a text file that's only 12.4 MB I get an error saying:
You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.
8000 M大吗?
Is 8000 M to big?
推荐答案
请注意不要超过32位有符号整数限制(如果使用的是32位版本),因为这会导致脚本失败.
Be careful not to exceed the 32 bit signed integer limit (if you're using 32bit versions) as it will cause your script to fail.
http://www.php. net/manual/en/ini.core.php#ini.post-max-size
这篇关于PHP中的上传限制和发布限制的上限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文