douchun5976 2016-09-26 21:23
浏览 25
已采纳

Codeigniter / PHP上传时出现500错误> ~100MB

Seems like a question that has been answered countless times.

My php.ini should allow it. My .htaccess also ought to be supporting it. I have, in the past and in some older answered posts, seen that if I copy php.ini into working directories of the scripts, it will resolve. No dice.

I have also made a new configuration file in CodeIgniter's system config folder to allow for large uploads, larger than I'm trying. The limit in MB could be arbitrary, I'm guessing it could also be a thread/process time limit but I set that to be pretty high for testing this as well.

I have restarted apache2. Still no luck. I'm on AWS services with an EC2, ElasticBeanstalk, and S3.

  • 写回答

2条回答 默认 最新

  • doukuibi9631 2016-09-26 23:02
    关注

    There is a batchsize argument in Amazon SDK for their S3 servers. This was fixed after making changes to an API file and allowing the server to restart and browsers to stop using old cache.

    Thanks for the help and I've enabled error logging, unfortunately the ex-dev had it turned off and I didn't think to check before I ran into problems with the setup.

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

报告相同问题?

悬赏问题

  • ¥15 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化