Yii / PHP中的文件上传问题

I have a situation here, while uploading larger files(greater than 10mb) nothing happens, no file is uploading, no db entry, no error messages etc., I'am using Yii.. phpinfo says upload_max_filesize and post_max_size are 1G and max_execution_time is 3600 .After submitting the form, the page loads for sometime and came back to its old stage(fresh form). can't find the exact issue.

Update:

After checking server error log I got this

PHP Warning: POST Content-Length of 17481302 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, then what to do?

update 2

The issue resolved

When you see error like that in log, you can check these values

upload_max_filesize = post_max_size =

in /etc/php.ini (not in user’s php.ini)

Server Admin's Reply Regarding the issue,

When you see error like that in log, you can check these values

upload_max_filesize =
post_max_size =

in /etc/php.ini (not in user’s php.ini)

sorry i misunderstood the problem.here is my new answer.you are probably facing the problem because of the limited size of post_max_size and upload_max_filesize in your php configuration file.i.e.php.ini

so please change "post_max_size",upload_max_filesize from 8M to 32M in php.ini.your problem will be solved :) and then restart your server

Check you memory_limit. Generally, memory_limit should be larger than post_max_size