upload_max_filesize - limit of PHP's allowable size per file.
post_max_size - total size of form data including the files uploaded.
Example:
upload_max_filesize = 5M
post_max_size = 80M
Restart Apache server everytime php.ini is changed.
Reminders
- Upload directory must be writable.
- Form enctype should be multipart/form-data