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 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么