update README

This commit is contained in:
crazywhalecc 2023-03-19 14:13:24 +08:00
parent 3a5ccb7f8d
commit 4fb6d8cafd
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680
2 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ And currently you may need to clone this branch and edit GitHub Action to build.
chmod +x spc
# fetch all libraries
./spc fetch --all
# with bcmath,openssl,swoole extension, build both CLI and phpmicro SAPI
./spc build "bcmath,openssl,swoole" --build-all
# with bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl extension, build both CLI and phpmicro SAPI
./spc build bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl --build-all
```
### php-cli Usage

View File

@ -41,8 +41,8 @@ Compile A Statically Linked PHP With Swoole and other Extensions. [English READM
chmod +x spc
# 拉取所有依赖库
./spc fetch --all
# 构建包含 bcmath,openssl,swoole 扩展的 php-cli 和 micro.sfx
./spc build "bcmath,openssl,swoole" --build-all
# 构建包含 bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl 扩展的 php-cli 和 micro.sfx
./spc build "bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl" --build-all
```
### 使用 php-cli