From eb4349301e97a0d32aea6fd1072b2bcf727b17f1 Mon Sep 17 00:00:00 2001 From: Go Kudo Date: Thu, 30 Apr 2026 13:08:30 +0900 Subject: [PATCH] fix: Fix upstream BC break on INI_INT() macro --- frankenphp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frankenphp.c b/frankenphp.c index 0cc294e397..8037886f67 100644 --- a/frankenphp.c +++ b/frankenphp.c @@ -570,7 +570,11 @@ PHP_FUNCTION(frankenphp_handle_request) { * Reset default timeout */ if (PG(max_input_time) != -1) { +#if PHP_VERSION_ID < 80600 zend_set_timeout(INI_INT("max_execution_time"), 0); +#else + zend_set_timeout(zend_ini_long_literal("max_execution_time"), 0); +#endif } #endif