WordPress Maximum Upload 2M limit

This is clearly a very old and tired issue for WordPress. I have read and attempted a thousand things and nothing has changed it. I must be doing something wrong. WordPress claims it is not a WordPress issue. When I try to upload a file over 2MB the very page indicates that the limit is set at 8MB and yet it still won't upload the file. The php.ini in HOME/etc is set for:

upload_max_filesize = 10M

I have run out of ideas. Hoping someone can tell me the solution. The phpinfo page I created also indicates values above 2Mb so PHP does not appear to be the issue and yet I can't figure out what could be.

Status: 
Active

Comments

Howdy -- well, if PHP/WordPress says that the PHP upload max is set to 8MB, it sounds like that part is setup correctly.

What error are you getting exactly?

Do any errors show up in the Apache error log, located in $HOME/logs/error_log?

It is a new server and this is the first virtual website on the machine. I am using it to test this issue which is probably on all four of our Virtualmin Pro servers.

There is very little in the logfile. One PHP warning. That is it.

"[Tue Mar 12 19:29:28 2013] [warn] [client 173.225.94.9] mod_fcgid: stderr: PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/securewebs/public_html/phpinfo.php on line 1"

Nothing else. Not sure where to go from here. It has been in my own support queue for a week or more now. One patient customer that is trying to upload larger files.

Yeah, the Apache error you're seeing there shouldn't be related.

It's tough to say since your PHP settings are correct, and that WordPress isn't generating an error of any sort.

One other thing you could check would be to make sure that this Virtual Server has plenty of quota space available, as well as to make sure that none of the partitions on your disk are low on space. You can verify the space on all your partitions by looking at the output of the command "df -h".

You might want to check what post_max_size is set to in php.ini as well - and are you sure you're actually using php.ini in ~/etc since that won't be the case if you're running under fcgid, for example (and it appears you are from the error message). So you probably REALLY want to edit the etc/php5/php.ini file in the home directory.