I've seen several questions with the same problem and most propose the following solutions
post_max_size
in the php.ini
file (set to 8M)upload_max_filesize
in php.ini
file (set to 8M)LimitRequestBody
directive in httpd.conf
(set to 8388608 = 8M)Then I restarted the apache service but even still the same problem. the form I am trying to send has only 5 fields (two checkboxes, 2 selects, one file), I'm uploading a file of 653KB and dont work (work if the file is less 80K), never had this problem before.
Setup:
I found that the problem is when I have SSL enabled, it has a default configuration SSLRenegBufferSize
in 131072
(128k).
Adding this directive in the virtual host directory I can increase the size and the error no longer appears:
<VirtualHost *:443>
# ...
<Directory ...>
#...
SSLRenegBufferSize 8388608 # 8M
</Directory>
</VirtualHost>
add only
SSLRenegBufferSize 8388608 (without # 8M )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With