From a5838c0537d53e903d28f34dce31db0f96521288 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 14 Jan 2026 13:06:03 +0100 Subject: [PATCH] Update minimum required PHP version in Autotools build system At the time of writing, PHP found on host system must be at least 8.0 for build/gen_stub.php and Zend/zend_vm_gen.php scripts to work. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 77fc8c89cdf40..aa33a89eaffe6 100644 --- a/configure.ac +++ b/configure.ac @@ -160,8 +160,8 @@ PHP_RUNPATH_SWITCH dnl Checks for some support/generator progs. PHP_PROG_BISON([3.0.0]) PHP_PROG_RE2C([1.0.3], [--no-generation-date]) -dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 7.4. -PHP_PROG_PHP([7.4]) +dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 8.0. +PHP_PROG_PHP([8.0]) PHP_ARG_ENABLE([re2c-cgoto], [whether to enable computed goto extension with re2c],