Bypass PHP for downloads
Posted: Tue Jan 17, 2017 12:46 am
I have OC 1.5.6 setup on IIS with PHP 5.5.14
I have been pulling my hair out for weeks trying to resolve my issue.
I have large files (1GB) as product downloads and the problem is not the file size but the time it takes to download. I've increased the virtual server RAM and CPU, I've played with the FastCGI settings and the PHP RunTime limits.
Maximum POST size = 3500M
Upload Maximum file size = 3000M
Max execution time = 2820
Max inpput time = 7200
Memory limit = 3500M
When I started, the maximum download time was at around 7 minutes, playing with the above numbers I have now reached a limit of 20 minutes but I need at least 45 minutes.
Another issue I am having is when a download starts, the user is stuck on the download page and cannot browse the website until the download is done.
When I create a simple HTML link I have no problems with time nor getting stuck on one page so I would like to apply a simple link to the download icon and bypass PHP. I have no need to control how many downloads a user can request.
Any help would be appreciated.
Mike
I have been pulling my hair out for weeks trying to resolve my issue.
I have large files (1GB) as product downloads and the problem is not the file size but the time it takes to download. I've increased the virtual server RAM and CPU, I've played with the FastCGI settings and the PHP RunTime limits.
Maximum POST size = 3500M
Upload Maximum file size = 3000M
Max execution time = 2820
Max inpput time = 7200
Memory limit = 3500M
When I started, the maximum download time was at around 7 minutes, playing with the above numbers I have now reached a limit of 20 minutes but I need at least 45 minutes.
Another issue I am having is when a download starts, the user is stuck on the download page and cannot browse the website until the download is done.
When I create a simple HTML link I have no problems with time nor getting stuck on one page so I would like to apply a simple link to the download icon and bypass PHP. I have no need to control how many downloads a user can request.
Any help would be appreciated.
Mike