Increase Connection Timeout for specific script

#1
Hi,

My LS tuning configuration is set to Connection Timeout: 120 secs. However, I need to run a specific PHP script which can take up to 10 minutes to complete, because it does an FTP connection/download to a remote server.

Is there any way to prevent LS from timing out without increasing the global timeout for all the domains?

I really don't want to set a global timeout of 600 for all the server.

Thanks!
 
#3
Is there a way around this when writing PHP scripts? i.e. set_time_limit, etc?

What needs to be sent back to the request to ensure litespeed doesn't timeout the process?
 
Top