Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 Advanced Tips and Tricks - NO QUESTIONS PLEASE
 Preventing PHP time outs in LiteSpeed
Author « Topic »  

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2018 :  17:29:50  
For anyone whose website resides on a LiteSpeed server

To avoid LiteSpeed server timeouts when executing any form of PHP script, you need to make sure that your timeout limits are correctly configured within your .htaccess file. Add the following to THE VERY BOTTOM of the .htaccess file

<IfModule Litespeed>
RewriteEngine On
RewriteRule .* - [E=noconntimeout:1]
RewriteRule .* - [E=noabort:1]
</IfModule>

Once in place, your time outs will now follow the PHP time out limits set in the 'Select PHP Version' selector within cPanel

Will
Bolton Manchester UK
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000