Issue while uploading files on windows server with php -
we facing issue in file uploading on windows server running php. bigger files not uploading server. site hosted in windows 2008 server , webserver iis 7.
sometimes possible upload 22mb files, upload fails 10 mb file. there no error messages in log files.
we have set higher values in php.ini files.
max_execution_time 1800 max_input_time 1800 memory_limit = 5000m upload_max_filesize = 60m max_file_uploads = 40 post_max_size = 400 we tried increase iis upload limit adding values in web.conf file. it's not solved issue.
maxrequestlength="204800" requestlengthdiskthreshold="204800" executiontimeout="3600" maxallowedcontentlength="204800000" http://support.myeasyprojects.net/kb/a53/uploading-large-files-times-out.aspx
we in middle of confusing issue. can out on this?
post_max_size should match upload_max_filesize because files sent post.
memory limit high, need memory? 256m should enough.
my suggested configuration:
memory_limit = 256m upload_max_filesize = 64m post_max_size = 64m
Comments
Post a Comment