post_max_size
and upload_max_filesize
are PHP.ini settings. You can set them either directly in PHP.ini or via ini_set
. I don’t know if this can be set with some Cake-internal tools as well.
However, the error could also be caused by a set limit of the RequestBodyLength in Apache (assuming you are running under Apache).