Page 1 of 1

Download file doesnt complete on Normal Browser Download

PostPosted: 16. May 2014 00:14
by ahmedashed
Hi guys I have ran xampp on windows Server 2008 and I am using the http://home.vinaget.us/ script to generate premium links, it's written in PHP, now my problem Once I generate a link and download using IDM, works fine Great speed download completes, however when i download say goole chrome or firefox download speed is still fast but the download stops after 30 secs/ 78 Mb ish and I get broken file, even though it said completed. I tried to change the setting in the php.ini
Code: Select all
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time=-1

; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time=-1

; Maximum input variable nesting level
; http://php.net/max-input-nesting-level
;max_input_nesting_level = 64

; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 1000

; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit=128000000000000M

Is there anything else I need to change, btw this is a dedi server so none of the resources are limiting. If you want me to expand on anything please do tell me as this is my first post and I am still learning thank you :D In advance

Re: Download file doesnt complete on Normal Browser Download

PostPosted: 18. May 2014 19:54
by gsmith
On the Apache side try

EnableSendfile On

Re: Download file doesnt complete on Normal Browser Download

PostPosted: 22. May 2014 20:07
by ahmedashed
It's on already... could that be the problem ?