Skip to content

Commit 4b72390

Browse files
authored
Update minimum required PHP version in Autotools build system (php#20933)
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. Minimum required version is updated to 8.1 to still support building PHP from source on any possible old systems, and enabling new features in build/gen_stub.php, such as readonly properties.
1 parent c995a6c commit 4b72390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ PHP_RUNPATH_SWITCH
160160
dnl Checks for some support/generator progs.
161161
PHP_PROG_BISON([3.0.0])
162162
PHP_PROG_RE2C([1.0.3], [--no-generation-date])
163-
dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 7.4.
164-
PHP_PROG_PHP([7.4])
163+
dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 8.1.
164+
PHP_PROG_PHP([8.1])
165165

166166
PHP_ARG_ENABLE([re2c-cgoto],
167167
[whether to enable computed goto extension with re2c],

0 commit comments

Comments
 (0)