Change WordPress upload file size
This response is for those who manage their own Linux server. If you do not, then your services’ admin would have to make the changes since you most likely would not have the authority. On a Linux box determine what php.ini file your php is using. Do this with a file called junk.php for example. It should look like:
Place junk.php in your WordPress root directory.
In your browser of choice enter: http://www.yoursite.com/junk.php
This will output a lot if data if your php environment is functioning properly. Look for the following:
php.ini – the path to your php.ini file will be here.
vi your php.ini file (noted in the above output) looking for “upload_max_filesize” and change it to what you think you need, i.e., 33M. Restart apache (sudo service apache2 restart) to pick up the new value. Look at “http://www.yoursite.com/junk.php” (may need to force a refresh) to see your new “upload_max_filesize” value. This should correct your 2M limitation.
I have seen a lot of posts where many have changed this value in their php.ini file and “nothing happens”. I am assuming that this is because the apache server (or whatever they are using) is not being restarted to acquire these new values.
Hope this helps.