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)