This is an old revision of the document!


Some Wordpress plugins or operations may need to run very long php procceses but they may be killed by Litespeed Web Server with error 500 after 120 seconds. In that in mind we have additionally environment variable that will resolve that issue.

noconntimeout

You can use in the htaccess file “noconntimeout” variable. Exlude wp-cron with this rule:

<IfModule Litespeed> 
RewriteEngine On
RewriteRule (wp-cron)\.php - [E=noconntimeout:1]
</IfModule>

SetEnv/SetEnvIf

You can use “SetEnv/SetEnvIf” variable too but we recommend to use it only in vhost file.

<IfModule Litespeed> 
SetEnv Request_URI "(wp-cron)\.php" noabort noconntimeout
</IfModule>

For additionally examples and information how to configurate the server side you can see this wiki

Both of this variable will allow running php processes with no limits for that webpage where is the htaccess file.

  • Admin
  • Last modified: 2018/05/25 15:04
  • by Tihomir