POST Content-Length exceeds the limit

后端 未结 9 2345
盖世英雄少女心
盖世英雄少女心 2020-11-27 11:26

I get similar errors in my error_log in php when users are uploading their files

PHP Warning: POST Content-Length of 11933650 bytes exceeds the limi

9条回答
  •  独厮守ぢ
    2020-11-27 12:15

    8388608 bytes is 8M, the default limit in PHP. Those changes to php.ini should indeed solve the problem (make sure your restart your Apache server after making them).

    Memory limit shouldn't need to be changed here.

提交回复
热议问题