Create a PHP page and test it. <?php // Show all information, defaults to INFO_ALL phpinfo(); ?> Now goto terminal
which will show you the actual maximum file size. In order to change that open a ssh connection to your server and edit the file /etc/php5/apache2/php.ini
with
sudo nano /etc/php5/apache2/php.ini
search for “upload_max_filesize” with Ctrl-W and change “2M” to “20M”. Save the file with Ctrl-O and exit with Ctrl-X. Restart the apache server with
sudo /etc/init.d/apache2 restart