Change default upload size PHP Wordpress Ubuntu

To edit the default upload size for WordPress on Ubuntu, edit the following file:

/etc/php5/apache2/php.ini

Search for upload_max_filesize and change this to the desired value.

Reload Apache with service apache2 reload