LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Increase Connection Timeout for specific script (http://www.litespeedtech.com/support/forum/showthread.php?t=4503)

Heritz 12-10-2010 09:44 AM

Increase Connection Timeout for specific script
 
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!

mistwang 12-10-2010 10:54 AM

It is not possible. same with apache.

outeredge 06-15-2011 04:56 AM

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?

NiteWave 06-15-2011 05:34 AM

from Jan 20,2011, there is a solution from lsws:
refer:
http://www.litespeedtech.com/support...1&postcount=14

bigjl 12-30-2011 04:51 PM

Where exactly do I set this up?
My litespeed is 4.1.9.
Thanks.

NiteWave 12-30-2011 09:01 PM

.htaccess or httpd.conf

adnet 05-29-2012 01:35 PM

Quote:

Originally Posted by NiteWave (Post 31293)
.htaccess or httpd.conf


where are these?
:confused:
i have same problem

webizen 05-29-2012 04:19 PM

http://www.litespeedtech.com/support...ithout_timeout

outeredge 05-30-2012 02:06 AM

Quote:

Originally Posted by adnet (Post 33720)
where are these?
:confused:
i have same problem

You probably shouldn't be using Litespeed if you don't know where these files are... :eek:

webizen 05-30-2012 10:27 AM

Quote:

Originally Posted by outeredge (Post 33748)
You probably shouldn't be using Litespeed if you don't know where these files are... :eek:

Nah. that's why we have this forum for people to ask questions.


All times are GMT -7. The time now is 02:08 PM.