From 1fad2ec368e456875441b8e636e6ca60135e1a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Mon, 26 Feb 2024 10:12:04 +0100 Subject: [PATCH] chore: hint to use Zend Max Execution Timers on macOS --- frankenphp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frankenphp.go b/frankenphp.go index 73dce8a05..aa01abc8d 100644 --- a/frankenphp.go +++ b/frankenphp.go @@ -304,7 +304,7 @@ func Init(options ...Option) error { } if config.ZTS { - if !config.ZendMaxExecutionTimers && runtime.GOOS == "linux" { + if !config.ZendMaxExecutionTimers { logger.Warn(`Zend Max Execution Timers are not enabled, timeouts (e.g. "max_execution_time") are disabled, recompile PHP with the "--enable-zend-max-execution-timers" configuration option to fix this issue`) } } else {