The uploaded file exceeds the upload_max_filesize directive in php.ini.

I'm getting this error when trying to upload a 2MB file. "The uploaded file exceeds the upload_max_filesize directive in php.ini." My quota's are set to unlimited. How do I fix this?

Status: 
Active

Comments

Edit the file etc/php.ini under the domain's home directory.

Yeah if you edit $HOME/etc/php.ini, look for the "upload_max_filesize" parameter -- and then set that to a value that's a bit larger. It defaults to "2M", but you may want to try something larger such as "10M" or "20M".