I was playing with a gallery plugin for WordPress and it had a maximum file size upload limit of 2MB. I thought this was pretty low considering the size of pictures from digital cameras nowadays. I looked into the plugin’s php file which handles the upload and found it called a php method called upload_max_filesize.
A little googling later I found out the file size limit is set in the php.ini file. This file is located at:
/etc/php5/apache2/php.ini
A search in vi later I found the directive and changed it. A reboot of apache 2 later and the file size limit change was confirmed by the WordPress plugin.