You need to set the value of
post_max_size in your
; Maximum allowed size for uploaded files. upload_max_filesize = 40M ; Must be greater than or equal to upload_max_filesize post_max_size = 40M
php.ini file(s), you need to restart your HTTP server to use the new configuration.
If you can’t change your
php.ini, you’re out of luck. You cannot change these values at run-time; uploads of file larger than the value specified in
php.ini will have failed by the time execution reaches your call to
See the Description of core