There is a lot of data being submitted no file uploads and the $_SERVER['CONTENT_LENGTH'] is being exceeded. Can this be increased?
66
votes
I assume that you are using apache, which is actually limiting the post size.
- Ikke
possible duplicate of Upload max size in PHP?
- Ikke
Read this article on drupal on how the post_max_size and upload_max_filesize relate
- Raphioly-San
9 Answers
139
votes
There are 2 different places you can set it:
php.ini
post_max_size=20M
upload_max_filesize=20M
.htaccess / httpd.conf / virtualhost include
php_value post_max_size 20M
php_value upload_max_filesize 20M
Which one to use depends on what you have access to.
.htaccess will not require a server restart, but php.ini and the other apache conf files will.
71
votes
24
votes
8
votes
6
votes
6
votes
5
votes
5
votes