Skip to content

Commit 25261e5

Browse files
authored
fix: Fix upstream BC break on INI_INT() macro (#2387)
1 parent eeaab63 commit 25261e5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

frankenphp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,11 @@ PHP_FUNCTION(frankenphp_handle_request) {
570570
* Reset default timeout
571571
*/
572572
if (PG(max_input_time) != -1) {
573+
#if PHP_VERSION_ID < 80600
573574
zend_set_timeout(INI_INT("max_execution_time"), 0);
575+
#else
576+
zend_set_timeout(zend_ini_long_literal("max_execution_time"), 0);
577+
#endif
574578
}
575579
#endif
576580

0 commit comments

Comments
 (0)