内部服务器错误 -- 此请求处理时间过长,服务器超时 [英] internal server error -- This request takes too long to process, it is timed out by the server

查看:63
本文介绍了内部服务器错误 -- 此请求处理时间过长,服务器超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用共享主机并面临这个问题.即使我已将我的 ajax 请求更改为较小的请求,并且在每次请求后我都超时,但问题仍然存在.我如何使用共享主机修复它.注意:set_time_limit(0); 对我不起作用.

i am using shared hosting and facing this issue. Even though i have changed my ajax requests to smaller one and after each request i am giving timeout but still issue is there. How i can fix it using shared hosting. Note: set_time_limit(0); not working for me.

预先感谢您的帮助.

推荐答案

经过大量时间的研究,我找到了这个 Litespeed 的解决方案

After researching a lot of time I found this solution for Litespeed

.htaccess 中添加以下内容

SetEnv noabort 1
SetEnv noconntimeout 1
RewriteRule .* - [E=noabort:1]
RewriteRule .* - [E=noconntimeout:1]

Litespeed 文档

这篇关于内部服务器错误 -- 此请求处理时间过长,服务器超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆