在PHP中上传最大尺寸? [英] Upload max size in PHP?
本文介绍了在PHP中上传最大尺寸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用PHP上传约100 MB的文件?
Is it possible for the upload of ~100 MB files using PHP?
如果是,那么配置文件(php.ini
)中需要进行哪些更改?
If so, what changes need to occur in the configuration file (php.ini
)?
斯里兰卡
推荐答案
以下选项相关:
- PHP: upload_max_filesize (仅在php.ini或.htaccess中,无法使用
ini_set()
) - PHP: post_max_size (同上)
- PHP: max_input_time (同上,谢谢@Thorstein,忘了这个)
- PHP: upload_max_filesize (in php.ini or .htaccess only, won't work using
ini_set()
) - PHP: post_max_size (ditto)
- PHP: max_input_time (ditto, thanks @Thorstein, forgot this one)
可能
- Apache: LimitRequestBody
这篇关于在PHP中上传最大尺寸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文