luqiangblogs

1.设置Apache文件大小上传限制

   http.conf文件(apache/config目录下)添加如下设置(1G=1024*1024*1024):

 FcgidMaxRequestLen  5368709120
    LimitRequestBody  5368709120

2.设置php.ini文件,修改如下:

 upload_max_filesize=10240M

 post_max_size = 10240M

 max_execution_time=0     //这个值为0表示执行没有时间限制,等同于程序中加入ini_set(\'max_execution_time\', \'0\')

 max_input_time=3000

3.重启apache

参考链接:https://my.oschina.net/junn/blog/147931,https://blog.csdn.net/u014103733/article/details/54755802,https://www.jb51.net/article/27721.htm

  

 

分类:

技术点:

相关文章:

  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
猜你喜欢
  • 2021-10-16
  • 2022-12-23
  • 2021-11-24
  • 2021-11-24
  • 2021-11-24
  • 2021-12-02
  • 2021-10-04
相关资源
相似解决方案