====== Run Magento API PHP Processes With no Limits ====== Some Magento plugins or operations may need to run very long php procceses but they may be killed by LiteSpeed Web Server with [[litespeed_wiki:config:understanding_500|Error 500]] after 120 seconds. An example is SOAP API from which you can update products. In this case, LiteSpeed can detect the connection as idle and kill it. With that in mind, we have an additional environment variable that will resolve the issue. ===== noconntimeout ===== You can use the ''noconntimeout'' variable in the ''.htaccess'' file. Here is an example with SOAP API: RewriteEngine On RewriteRule api.php - [E=noconntimeout:1] The variable will allow you to run PHP processes without limits for the directory where the ''.htaccess'' file lives. This can be very useful when you are working with modules like [[https://www.farapp.com/|FarApp]] or [[https://marketplace.magento.com/streammarket-royal-mail-shipping-manager.html|Royal Mail Shipping Manager]]. For additional examples and information how to configurate the server side you can see this [[litespeed_wiki:php:run-without-timeouts|wiki]].