如何查找和编辑“Apache超时”?

Zor*_*rba 8 configuration centos search timeout apache-httpd

我正在尝试查看服务器的 Apache 超时的默认值,但在/etc/httpd/conf/httpd.conf. 那么“超时”应该在哪里,我该如何更改它的值?

操作系统是 Centos 7 | 阿帕奇版本:2.4.6

小智 6

来自 Apache 文档:超时 这应该写入服务器 httpd.conf:

TimeOut Num
Run Code Online (Sandbox Code Playgroud)

来自上面链接的更多信息:

Syntax: TimeOut seconds
Default:    TimeOut 300
Context:    server config, virtual host
Run Code Online (Sandbox Code Playgroud)

另外,如果您需要增加脚本执行时间,那就是

max_execution_time 60 
Run Code Online (Sandbox Code Playgroud)

在 php.ini 中(数字为秒)