/etc/php/X.X/apache2/php.ini
 
post_max_size = 8M
upload_max_filesize = 2M
upload_tmp_dir = /var/tmp