doufangxie0203 2014-05-02 15:53
浏览 75
已采纳

Debian Php Max文件上传

First off I'm new to Linux.
I've installed Apache, Mysql and PHP on to a raspberry pi(Debian, not raspbian, so all command driven), and i've written a file upload php script, which works for small files, but I can't get it to upload a 85M file, it doesn't come back with any warnings or errors(I have taken the script size limitations out).

I have tried changing the max_upload, etc in the /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini and nothing makes a difference, am I missing something or is there a limitation on the pi?

The point of this website is to allow large uploads directly onto the company network as have shared the upload directory.
Any help would be greatly appreciated

  • 写回答

2条回答 默认 最新

  • doudang9147 2014-05-02 16:19
    关注

    You probably did everything right, but didn't do enough. To my knowledge, there are a few things to change in a config:

    # Max file size:
    upload_max_filesize = some value
    
    
    # But let's not forget that files are a part of POST request, so let's set its limits as well:
    post_max_size = some value
    

    Maybe this will help

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器