Increase Connection Timeout for specific script

Discussion in 'General' started by Heritz, Dec 10, 2010.

  1. Heritz

    Heritz New Member


    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.

  2. mistwang

    mistwang LiteSpeed Staff

    It is not possible. same with apache.
  3. outeredge

    outeredge New Member

    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?
  4. NiteWave

    NiteWave Administrator

  5. bigjl

    bigjl New Member

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

    NiteWave Administrator

    .htaccess or httpd.conf
  7. webizen

    webizen New Member

  8. outeredge

    outeredge New Member

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

    webizen New Member

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

Share This Page