简体   繁体   English

PHP和Codeigniter大文件上传问题

[英]PHP and Codeigniter large File uploading issue

Here is my settings in the php.ini in the live server . 这是我在实时服务器中的php.ini中的设置。

post_max_size=1700M,
upload_max_filesize=1500M,
max_execution_time=5000,
max_input_time=5000,
memory_limit=1800M

with such higher configuration I can upload only 50mb video . 如此高的配置我只能上传50mb的视频。 But when I am trying to upload 100mb or more than 100mb after 100% uploading its says 但是当我尝试上传100mb或超过100mb后,如果100%上传了

Internal Server Error. 内部服务器错误。 The server encountered an internal error or misconfiguration and was unable to complete your request 服务器遇到内部错误或配置错误,无法完成您的请求

Why this error occurred ? 为什么会发生此错误? But in my localhost I can upload video over 100mb . 但是在我的本地主机中,我可以上传超过100mb的视频。 Give an idea about how to deal with large video upload . 给出有关如何处理大型视频上传的想法。

It seems similar to the problem described here: stackoverflow large video upload using CI . 似乎与此处描述的问题类似: stackoverflow使用CI上传大型视频 Which can be fixed by updating the Codeigniter preferences . 可以通过更新Codeigniter preferences

The only thing that puzzles me is that in localhost the same (?) code works ok. 唯一令我困惑的是,在localhost中,相同的 (?)代码可以正常工作。

如服务器支持所建议,现在我正在使用FTP上传大文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM