The normal method to send a file upload is POST, thus also post_max_size
should be 16 Mb or more.
Incidentally, also memory_limit
plays a role. It should be bigger than 16Mb, but since the default value is 128Mb, you won't see this problem. Example php.ini
configuration:
post_max_size = 16M
upload_max_filesize = 16M
memory_limit = 128M
Change these value in php.ini
if you've access to it, otherwise you can try to change them in an .htaccess
file.
php_value upload_max_filesize 16M
php_value post_max_size 16M
This will work only if the AllowOverride
settings permit it. Otherwise, you've to ask to your hosting company.