mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Update minimum required PHP version in Autotools build system (#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.
This commit is contained in:
@@ -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.1.
|
||||
PHP_PROG_PHP([8.1])
|
||||
|
||||
PHP_ARG_ENABLE([re2c-cgoto],
|
||||
[whether to enable computed goto extension with re2c],
|
||||
|
||||
Reference in New Issue
Block a user