POST Content-Length exceeds the limit

后端 未结 9 2386
盖世英雄少女心
盖世英雄少女心 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 11:52

    Try pasting this to .htaccess and it should work.

    php_value post_max_size 2000M
    php_value upload_max_filesize 2500M
    php_value max_execution_time 6000000
    php_value max_input_time 6000000
    php_value memory_limit 2500M
    

提交回复
热议问题