mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
update README
This commit is contained in:
parent
100d31791a
commit
3e7ef49bde
@ -37,7 +37,7 @@ Here is the architecture support status, where `CI` represents support for GitHu
|
|||||||
|
|
||||||
> macOS-arm64 is not supported for GitHub Actions, if you are going to build on arm, you can build it manually on your own machine.
|
> macOS-arm64 is not supported for GitHub Actions, if you are going to build on arm, you can build it manually on your own machine.
|
||||||
|
|
||||||
Currently supported PHP versions for compilation are: `7.4`, `8.0`, `8.1`, `8.2`.
|
Currently supported PHP versions for compilation are: `7.3`, `7.4`, `8.0`, `8.1`, `8.2`, `8.3`.
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ chmod +x bin/spc
|
|||||||
You can also use the parameter `--with-php=x.y` to specify the downloaded PHP version, currently supports 7.4 ~ 8.2:
|
You can also use the parameter `--with-php=x.y` to specify the downloaded PHP version, currently supports 7.4 ~ 8.2:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Using PHP >= 8.0 is recommended, because 7.4 cannot use phpmicro
|
# Using PHP >= 8.0 is recommended, because PHP7 cannot use phpmicro
|
||||||
./bin/spc fetch --with-php=8.2 --all
|
./bin/spc fetch --with-php=8.2 --all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Compile A Statically Linked PHP With Swoole and other Extensions.
|
|||||||
|
|
||||||
> macOS-arm64 因 GitHub 暂未提供 arm runner,如果要构建 arm 二进制,可以使用手动构建。
|
> macOS-arm64 因 GitHub 暂未提供 arm runner,如果要构建 arm 二进制,可以使用手动构建。
|
||||||
|
|
||||||
目前支持编译的 PHP 版本为:`7.4`,`8.0`,`8.1`,`8.2`。
|
目前支持编译的 PHP 版本为:`7.3`,`7.4`,`8.0`,`8.1`,`8.2`,`8.3`。
|
||||||
|
|
||||||
## 文档
|
## 文档
|
||||||
|
|
||||||
@ -108,10 +108,10 @@ chmod +x bin/spc
|
|||||||
./bin/spc build "bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl" --build-cli --build-micro
|
./bin/spc build "bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl" --build-cli --build-micro
|
||||||
```
|
```
|
||||||
|
|
||||||
你也可以使用参数 `--with-php=x.y` 来指定下载的 PHP 版本,目前支持 7.4 ~ 8.2:
|
你也可以使用参数 `--with-php=x.y` 来指定下载的 PHP 版本,目前支持 7.3 ~ 8.3:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 优先考虑使用 >= 8.0 的 PHP 版本
|
# 优先考虑使用 >= 8.0 的 PHP 版本,因为 phpmicro 不支持在 PHP7 中构建
|
||||||
./bin/spc fetch --with-php=8.2 --all
|
./bin/spc fetch --with-php=8.2 --all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user