|
1 | 1 | $ErrorActionPreference="Stop" |
2 | 2 | $ProgressPreference="SilentlyContinue" |
3 | 3 |
|
4 | | -$PHP_VERSIONS=@("8.1.33", "8.2.29", "8.3.25", "8.4.12") |
| 4 | +$PHP_VERSIONS=@("8.1.33", "8.2.29", "8.3.25", "8.4.12", "8.5.0beta3") |
5 | 5 |
|
6 | | -$PHP_SDK_VER="2.3.0" |
| 6 | +$PHP_SDK_VER="2.4.0" |
7 | 7 | $ARCH="x64" |
8 | 8 |
|
9 | 9 | #### NOTE: Tags with "v" prefixes behave weirdly in the GitHub API. They'll be stripped in some places but not others. |
@@ -37,6 +37,10 @@ $PHP_LIBKAFKA_VER="6.0.3" |
37 | 37 | $PHP_ZSTD_VER="0.15.2" |
38 | 38 | $PHP_GRPC_VER="1.57.3" |
39 | 39 |
|
| 40 | +$PHP_PMMPTHREAD_VER_PHP85="4aa34a27feaa43adba5f1e93939828d1d7afdefc" |
| 41 | +$PHP_IGBINARY_VER_PHP85="8f8b7175c7859f1845bcdee6f7d0baeea7d07cb8" |
| 42 | +$PHP_XDEBUG_VER_PHP85="86727b0b05b5d0a9c4fb85021f05d7931e2c3a35" |
| 43 | + |
40 | 44 | function pm-echo { |
41 | 45 | param ([string] $message) |
42 | 46 |
|
@@ -209,6 +213,11 @@ if ($PHP_VERSION_ID -ge 80400) { |
209 | 213 |
|
210 | 214 | pm-echo "Selected PHP $PHP_VER ($PHP_VERSION_ID), SDK target $VC_VER ($SDK_TOOLSET_FLAG), CMake target $CMAKE_TARGET ($CMAKE_TOOLSET_FLAG)" |
211 | 215 |
|
| 216 | +if ($PHP_VERSION_ID -ge 80500) { |
| 217 | + $PHP_PMMPTHREAD_VER=$PHP_PMMPTHREAD_VER_PHP85 |
| 218 | + $PHP_IGBINARY_VER=$PHP_IGBINARY_VER_PHP85 |
| 219 | + $PHP_XDEBUG_VER=$PHP_XDEBUG_VER_PHP85 |
| 220 | +} |
212 | 221 | $PHP_JIT_ENABLE_ARG="no" |
213 | 222 | if ($PHP_VERSION_ID -ge 80400 -or $env:PHP_JIT_SUPPORT -eq 1) { |
214 | 223 | $PHP_JIT_ENABLE_ARG="yes" |
@@ -797,7 +806,9 @@ append-file-utf8 "extension=php_crypto.dll" $php_ini |
797 | 806 | append-file-utf8 "extension=php_libdeflate.dll" $php_ini |
798 | 807 | append-file-utf8 "extension=php_encoding.dll" $php_ini |
799 | 808 | append-file-utf8 "igbinary.compact_strings=0" $php_ini |
800 | | -append-file-utf8 "zend_extension=php_opcache.dll" $php_ini |
| 809 | +if ($PHP_VERSION_ID -lt 80500) { |
| 810 | + append-file-utf8 "zend_extension=php_opcache.dll" $php_ini |
| 811 | +} |
801 | 812 | append-file-utf8 "opcache.enable=1" $php_ini |
802 | 813 | append-file-utf8 "opcache.enable_cli=1" $php_ini |
803 | 814 | append-file-utf8 "opcache.save_comments=1" $php_ini |
|
0 commit comments