This is an odd problem.
I've a client who is a photographer and who will often be uploading very large images - 10 megabytes, or 15 megabytes. I'm using WordPress to give him a way to control the site.
I've got a server on the Rackspace cloud. We use Virtualmin to manage the server settings. I create a development site and default max file upload is 2 megabytes. So I go to Virtualmin and change this 20 megabytes. For some reason this has no effect. I have no time to figure out why, so I cheat a little and create an .htaccess file, where I put:
php_value upload_max_filesize 20M
Now WordPress says the maximum upload file size is 8 megabytes. I am surprised by this. I create a file on the server with just this code:
I point my browser at this file and I see:
max_file_uploads 20 20
So, PHP now thinks that the max upload is 20 megabytes. but WordPress is stuck on 8 megabytes. Why is this?