Request Entity Too Large PHP

前端 未结 6 929
眼角桃花
眼角桃花 2020-11-27 06:35

In one of my CakePHP site, I got this error.

Request Entity Too Large

I don\'t know what is the problem. I think the data that I am posting through form is t

6条回答
  •  囚心锁ツ
    2020-11-27 06:54

    post_max_size and upload_max_filesize are PHP.ini settings. You can set them either directly in PHP.ini or via ini_set. I don't know if this can be set with some Cake-internal tools as well.

    However, the error could also be caused by a set limit of the RequestBodyLength in Apache (assuming you are running under Apache).

提交回复
热议问题