---
title: "[Resolved]. How to fix or address Request Timeout Error on cpanel"
description: "![](https://truehost.com/support/wp-content/uploads/2024/11/image-209-1024x359.png) ### **Problem:** This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.) ### **Cause:** This particular error…"
url: "https://truehost.com/support/knowledge-base/resolved-how-to-fix-or-address-request-timeout-error-on-cpanel/"
updated: "2024-12-12"
category: Cpanel
---

# [Resolved]. How to fix or address Request Timeout Error on cpanel

![](https://truehost.com/support/wp-content/uploads/2024/11/image-209-1024x359.png)

### **Problem:**

This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.)

### **Cause:**

This particular error message is generated by the LiteSpeed web server (a faster replacement for Apache). It has a special feature whereby it cancels long-running scripts (even those that use `set_time_limit()`).

This happens if you have long running **PHP scripts** or due to **Badly** **written PHP code**.

### **Resolution :**

You may consider to override the Litespeed feature that cancels long running process.

To disable this, you need to put the following code snippet in your `.htaccess` file in the root of your site.

Put the code at the top of your file

`RewriteEngine On`

`RewriteRule .* - [E=noabort:1]`

`RewriteRule .* - [E=noconntimeout:1]`

This solution applies to any PHP SITEs (Wordpress, Joomla, Custom Scripts, Custom Sites) running on Litespeed Webserver.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-210-1024x443.png)

**NOTE**: The resolution provided above is for servers using Litespeed Webserver.
