mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
update README
This commit is contained in:
parent
3a5ccb7f8d
commit
4fb6d8cafd
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user