I'm using ISPConfig 3.
I have set:
post_max_size
andupload_max_filesize = 10M
in /etc/php5/fpm/php.iniphp_value post_max_size
andupload_max_filesize 10M
in .htaccess
Then restarted apache with /etc/init.d/apache2 restart
Still, those values are 2M in phpinfo()