php无法上传超过50 kb的附件

The problem is in html_php attachment mail sending form.
When I attached file which is more than 50KB file size, it finishes uploading and it becomes error page.

How can I solve this problem??

I've changed upload_max_file_size to 32M and post_max_size to 35M) in my php.ini

But it doesn't work.

Hep me please as soon as you can.

Thanks a lot.

Check the variable. It should be upload_max_filesize and not upload_max_file_size in /etc/php5/apache2/php.ini

Also, if the allowed size is 32M and you are trying to upload a file which has size in Kb, then it should not be a problem.