Hello,
i'm trying to upload files bigger than 8Mb.
This is my configuration:
IIS 7.5 / Plesk 10 / PHP 5.2.13
php.ini: (in C:/....../Additional/PleskPHP5/)
post_max_size = 81M
memory_limit = 128M
max_file_uploads = 20
max_execution_time = 1200
upload_max_filesize = 80M
web.config:
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483647" />
</requestFiltering>
</security>
<system.web>
<httpRuntime maxRequestLength="2097151"/> <!-- in kilobytes -->
</system.web>
folder:
allow write access to IIS Plesk user
my_script_upload.php:
set_time_limit(1000); //to force the time limit
but sometimes i can upload files up to 11Mo and sometimes i cant. I never success to upload files of 17Mb or more... I have 500 Error or 101 Error ERR_CONNECTION_RESET.
so how to configure IIS/plesk to upload big files with PHP ?
Edit:It seems to be a security time of upload. I can successful upload 80Mo with big connection in 10sec but not 2Mo with slow connection in 3mins!
thanks.
i'm trying to upload files bigger than 8Mb.
This is my configuration:
IIS 7.5 / Plesk 10 / PHP 5.2.13
php.ini: (in C:/....../Additional/PleskPHP5/)
post_max_size = 81M
memory_limit = 128M
max_file_uploads = 20
max_execution_time = 1200
upload_max_filesize = 80M
web.config:
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483647" />
</requestFiltering>
</security>
<system.web>
<httpRuntime maxRequestLength="2097151"/> <!-- in kilobytes -->
</system.web>
folder:
allow write access to IIS Plesk user
my_script_upload.php:
set_time_limit(1000); //to force the time limit
but sometimes i can upload files up to 11Mo and sometimes i cant. I never success to upload files of 17Mb or more... I have 500 Error or 101 Error ERR_CONNECTION_RESET.
so how to configure IIS/plesk to upload big files with PHP ?
Edit:It seems to be a security time of upload. I can successful upload 80Mo with big connection in 10sec but not 2Mo with slow connection in 3mins!
thanks.
Last edited: