PHP大文件上传 [英] PHP Large file upload
本文介绍了PHP大文件上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在处理文件上传脚本。
问题是代码不允许大文件上传。
我在php.ini中更改了以下值。
? file_uploads
? upload_max_filesize
? max_input_time
? memory_limit
? max_execution_time
? post_max_size
网站适用于小尺寸文件
我是否需要更改任何其他设置。
谢谢,
Yogesh
Hi,
I am working on file upload script.
The problem is the code does not allow large file upload.
I have changed following values in php.ini.
? file_uploads
? upload_max_filesize
? max_input_time
? memory_limit
? max_execution_time
? post_max_size
Site works for small size files
Do I need to change any other setting.
Thanks,
Yogesh
推荐答案
你重启了网络服务器吗?你能看到phpinof()中的更新值吗?
Did you restart your webserver? Can you see updated values in phpinof()?
你重新启动了你的网络服务器吗?你能看到phpinof()中的更新值吗?
Did you restart your webserver? Can you see updated values in phpinof()?
是的我检查了phpinfo()并显示了所有更新的值。
Yes I checked the phpinfo() and it shows all updated values.
文件大小是多少?您设置的新值是多少?
据我所知,如果您更改这些值,它应该有效。
What is the file size? What are the new values you set?
As I know, it should work if you change these values.
这篇关于PHP大文件上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文