From d863ef888fee14176a180c4b2b5117c16ad34c41 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 18 Dec 2025 11:40:48 -0600 Subject: [PATCH] Fixed incorrect previous fix for timeout for php processing to allow for longer running API requests (3.24) Previous ticket: ENT-13291 This fixes a bad cherry pick in ada818c6ed45c48af155c961f9ff1ef3c0b28f29 The timeout will apply for all httpd operations and is set to 2 minutes instead of the default of 1 minute. Ticket: ENT-13625 Changelog: title (cherry picked from commit 7fa64131b4df55fe884c3d57283f28013f40c561) --- cfe_internal/enterprise/templates/httpd.conf.mustache | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cfe_internal/enterprise/templates/httpd.conf.mustache b/cfe_internal/enterprise/templates/httpd.conf.mustache index ef360db146..1d28af2e51 100644 --- a/cfe_internal/enterprise/templates/httpd.conf.mustache +++ b/cfe_internal/enterprise/templates/httpd.conf.mustache @@ -249,6 +249,9 @@ AddHandler php{{{vars.cfe_internal_hub_vars.php_version}}}-script .php AddType application/x-httpd-php-source php{{{vars.cfe_internal_hub_vars.php_version}}} +# Timeout defaults to 60 but that is too short for some operations on slower hub hardware +Timeout 120 + Options -Indexes +FollowSymLinks +MultiViews @@ -281,7 +284,6 @@ AddType application/x-httpd-php-source php{{{vars.cfe_internal_hub_vars.php_v - Timeout 120 # Increase timeout for the API, especially agent_run. See ENT-13291 Order deny,allow AllowOverride None