joomla - PHP Does not allow me to upload 16MB file -
i trying upload 16 mb file, application not upload 17 mb file, per php.ini, can upload till 20 mb.
as not getting respective error upload failed.
when hit upload button, page gets load, nothing happened.
no error, nothing.
in application top, add
error_reporting(e_all); ini_set('display_errors', true); ini_set('display_startup_errors', true);
how catch error sort of errors.
besides php ini max file size set already, there more related variables should check:
upload_max_filesize = 24m post_max_size = 120m max_execution_time = 6000
post_max_size total size of post browser sending: it's sum of files attached form. max execution time should take file size consideration adsl connections slower uploading take long 5 minutes users upload 15mb file.
don't exagerate: expose attacks/waste bandwidth (not damage there).
as per errors, should have them logged in apache error log: if sum of file sizes exceeds post_max_size, error this:
[fri jul 05 17:38:09 2013] [warn] [client 157.16.35.224] mod_fcgid: http request length 5005313 (so far) exceeds maxrequestlen (5000000), referer: https://www.example.com/sef/path/rads/post/1?catid=1
finally, make sure space on disk , user quota not exhausted. able determine cause of failing upload apache error_log.
Comments
Post a Comment