item | value |
---|---|
branch | main |
tag | v1.7.1 |
swoole version | v6.0.0 |
php version | 8.1.31, 8.2.27, 8.3.15, 8.4.2 |
suport OS platform | linux-x64 、linux-arm64、macos-x64、macos-arm64、windows-cygwin-x64 |
release date | 2024-12-24 |
php-cli runtime
借助于swoole-cli 的构建流程,构建包含swoole 扩展的 PHP-CLI 运行时
变更:详情
1. swoole版本由v5.1.6 升级到v6.0.0
2. 启用 windows-cygwin-x64 构建
3. 默认构建的PHP版本由 8.1.30,8.2.25, 8.3.13,8.4.1 升级为 8.1.31,8.2.27,8.3.15,8.4.2
快速使用 包含swoole 的 php-cli 运行时
curl -fSL https://github.com/swoole/build-static-php/blob/main/setup-php-cli-runtime.sh?raw=true | bash -s -- --version v1.7.1
# 指定下载版本
curl -fSL https://github.com/swoole/build-static-php/blob/main/setup-php-cli-runtime.sh?raw=true | bash -s -- --version v1.7.1 --php-version v8.4.2
备注: macos环境下 首次运行 无权限 ,解决方法
note : macos clearing the com.apple.quarantine extended attribute
# 查看扩展属性
xattr ./php
# 去除扩展属性
sudo xattr -rd com.apple.quarantine ./php
release files sha256sum
27e8c6e491763519a0e05e80d15a3c1d292554460c09dbc77215cb69e4e55f51 all-deps.zip
436691a37641c25dad74ba7937fb8b938cd9c1429c100624024af3f603ac7bd6 php-cli-v8.1.31-cygwin-x64.zip
d90efb22c70209fd4c34acf5bfa2601aa2aea87c8fe487e1373d7e6b1b834fb7 php-cli-v8.1.31-linux-arm64-debug.tar.xz
36b3c2f9a5ff590df4ce64b4524762028b03b8a837824a7ba5e224ad3e278c60 php-cli-v8.1.31-linux-arm64.tar.xz
6a9f29c6b547e7ffff499b1b7c7b188bbdb16bb009eddd28174f59b634b57fc0 php-cli-v8.1.31-linux-x64-debug.tar.xz
3572f9a873ba95320c4bee26e203865d61ba7749d85d74e8e45f07f08f760ae8 php-cli-v8.1.31-linux-x64.tar.xz
7daa998cb94bed1686c8d7a854c2fccd4d2e219c843ca9658e5094bdf9f4e627 php-cli-v8.1.31-macos-arm64-debug.tar.xz
2dde792a4b8040efa986e7a9356c28082392015985ffcd142daeffdcb636d9cc php-cli-v8.1.31-macos-arm64.tar.xz
f6b3a944d05b81406b0c1b58c2914d1cb4f9c1d6a840827d51895ce618a73059 php-cli-v8.1.31-macos-x64-debug.tar.xz
132161d414c51390610aa74a23b8773cff3831266e4b96df854a206c0c5bb501 php-cli-v8.1.31-macos-x64.tar.xz
3133902512dfb94db7388df251d261c20de1f1cf800f63f12c82be375b0ab758 php-cli-v8.2.27-cygwin-x64.zip
2fca46a4fc3aa825dc2dfd4a1f71f9d2421e35f10214b80f5b056cf400e8209a php-cli-v8.2.27-linux-arm64-debug.tar.xz
e28108b8adf78448a17b7a65f827e8ad517d9480265e8908fa97043f538c0ba3 php-cli-v8.2.27-linux-arm64.tar.xz
02f4be1aece70b8b1eb52374e164ece455fc697f81efbab8bd5cbdc62e41e860 php-cli-v8.2.27-linux-x64-debug.tar.xz
0f7f2dd29750db6e7ae8a708bb966825b1d28723419767a765e0e8da66da3d90 php-cli-v8.2.27-linux-x64.tar.xz
6264252c3e1bbeaac5997ed58b285f62a113a42c2aeaf1bdfe8eb666c958cba4 php-cli-v8.2.27-macos-arm64-debug.tar.xz
17da236b702f0d39a9fe26575e8d6397901d0a91d24af3d7387ec377cb2fda4a php-cli-v8.2.27-macos-arm64.tar.xz
502a4a044d75cd971c1e92e6accb1320d46d94d67eae620e89e7210856ce59b0 php-cli-v8.2.27-macos-x64-debug.tar.xz
9523150b8f6e6b28cb3d20e8b7f72b5b80ed9a40a97933f3e9fcb8627277261e php-cli-v8.2.27-macos-x64.tar.xz
9b2f9a5b0430548b44ccecf1b6dfa1ff7a000d60128018e4541bd0a624634b95 php-cli-v8.3.15-cygwin-x64.zip
d97332906926386d3db4ebae2b786e121a1239e62d2e0af414d42fb524bb8bcd php-cli-v8.3.15-linux-arm64-debug.tar.xz
1db44f6cb0054cde026fb253518b5bf53403152e05e7e8a2aba6be43e6b96893 php-cli-v8.3.15-linux-arm64.tar.xz
40567f169a7d790b44612c6a9a51dd6798511c37bf92fa0acee827be2ec137a7 php-cli-v8.3.15-linux-x64-debug.tar.xz
a53f91ffb1096ec3999c837e44045ee678c89af3e5c6538ebc56fb5e0bd932e1 php-cli-v8.3.15-linux-x64.tar.xz
5353f9e73ca7b49e22e278a1f8c3ca18bff8042062394b4ba7faa0ba298009df php-cli-v8.3.15-macos-arm64-debug.tar.xz
99d8e79b3987a7596585ab299b30c5987c2201ee73d74add2150d484432ae256 php-cli-v8.3.15-macos-arm64.tar.xz
a5dc6092e39c06d73246fb2711cb19b4a51ac509eb93e4d78a085663c7f5c908 php-cli-v8.3.15-macos-x64-debug.tar.xz
e59d7fb45ec17f4ac95763e7a81860b4e646323b80cb15eaf050759a4d7f0f07 php-cli-v8.3.15-macos-x64.tar.xz
e932ed17d4749c2448ed43452e30e5407b3defdb81372cd88a5e840f3c1ea75a php-cli-v8.4.2-cygwin-x64.zip
d28fb3343a3eb460fc580f7013d6a4c0b9b74c2e8b1fd3fb8a085f12da5a60df php-cli-v8.4.2-linux-arm64-debug.tar.xz
25f6a5b23cc03c6fb25ab511cada118ce174a24df92a2a00c9f8c58d0ae2d73d php-cli-v8.4.2-linux-arm64.tar.xz
4e7f47412acffee5963a8b8393f4a27548562848c47d8a69a0a33b09b117e27f php-cli-v8.4.2-linux-x64-debug.tar.xz
da46e7543a77cdc2a7eeb27b80a6904a51cf15d56781af99537f15cf7f42b6e5 php-cli-v8.4.2-linux-x64.tar.xz
88f5c016e29c1d9720bcdbf4db4a273a20f6423afe20e66b1a1c0f93d07246f3 php-cli-v8.4.2-macos-arm64-debug.tar.xz
8814565b31e6244a3ad80d0ab5a1513f78e34fa4fb9a7f1425eb0d7c02ff1ff1 php-cli-v8.4.2-macos-arm64.tar.xz
1459e8b69bb060e2a578e8f8bca5ad2b5ca44fd022fe84218d533eae916c43d0 php-cli-v8.4.2-macos-x64-debug.tar.xz
b969348186cade4a481215a61e02f54a596846a461125b1048d9eae1c0f0717d php-cli-v8.4.2-macos-x64.tar.xz