ERROR: * Size of Upload (11064718 bytes) Exceeded Allowed Maximum: 8388608 bytes

Hi team,

This really is basic stuff, and there should be a proper documentation on which elements are to be changed and where they reside.

PHPInfo shows
Local Master
Value Value
upload_max_filesize 64M 64M
post_max_size 8M 8M

Where do I change the post_max_size value in a UBUNTU distribution?

All assistance is appreciated.
Cheers
Bernard

You might be changing the wrong php.ini, there is normally more than one. Where did you get that phpinfo from?

Try getting it from within SuiteCRM, Admin / Diagnostics.

HI pgr

I got it from the phpinfo.html In the Core section

I updated the line 656 in /etc/php/7.0/apache2/php.ini to post_max_size = 30M

I saved the file and restarted SuiteCRM.

Ran the upgrade upload and same error message came up

I ran the Diagnostic tool again and got post_max_size = 8M again.

I ran this grep script:

grep -rnw ‘/etc/php/’ -e ‘post_max_size’

/etc/php/7.0/apache2/php.ini:656:post_max_size = 64M
/etc/php/7.0/cli/php.ini:656:post_max_size = 64M

and this grep script:

root@server-04:/etc# grep -rnw ‘/var/www/’ -e ‘post_max_size’

/var/www/html/suitecrm/.htaccess:13:php_value post_max_size 100M

along with a number of files with a comment including ‘post_max_size’

Where else might this value be stored?

Cheers Bernard

I forgot the obvious :whistle:

I restarted the server and the upgrade process ran fine

I ran the Diagnostic tool and the upload_max_filesize is now 64M

Cheers
Bernard

Hi ! It was the same problem.for me.
Didn’t understood about 8xxxx limitation.message after failure because I had 26M limit to upload.

I found here about parameter port_max_size.
Not only max_upload_size cause the problem.
Check also port_max_size.
And don’t forget to RESTART httpd service :slight_smile:

Additionally to max_upload_size I changed just here another one limit.
For last upgrade packege to 7.10.17 the 28M limit is enough. :wink:

;  Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size
post_max_size = 28M

Thank you guys!

1 Like

post_max_size ********* this need to be set this WORKS!!!