mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-14 04:15:35 +08:00
update README
This commit is contained in:
@@ -38,8 +38,8 @@ And currently you may need to clone this branch and edit GitHub Action to build.
|
|||||||
chmod +x spc
|
chmod +x spc
|
||||||
# fetch all libraries
|
# fetch all libraries
|
||||||
./spc fetch --all
|
./spc fetch --all
|
||||||
# with bcmath,openssl,swoole extension, build both CLI and phpmicro SAPI
|
# with bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl extension, build both CLI and phpmicro SAPI
|
||||||
./spc build "bcmath,openssl,swoole" --build-all
|
./spc build bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl --build-all
|
||||||
```
|
```
|
||||||
|
|
||||||
### php-cli Usage
|
### php-cli Usage
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ Compile A Statically Linked PHP With Swoole and other Extensions. [English READM
|
|||||||
chmod +x spc
|
chmod +x spc
|
||||||
# 拉取所有依赖库
|
# 拉取所有依赖库
|
||||||
./spc fetch --all
|
./spc fetch --all
|
||||||
# 构建包含 bcmath,openssl,swoole 扩展的 php-cli 和 micro.sfx
|
# 构建包含 bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl 扩展的 php-cli 和 micro.sfx
|
||||||
./spc build "bcmath,openssl,swoole" --build-all
|
./spc build "bcmath,openssl,tokenizer,sqlite3,pdo_sqlite,ftp,curl" --build-all
|
||||||
```
|
```
|
||||||
|
|
||||||
### 使用 php-cli
|
### 使用 php-cli
|
||||||
|
|||||||
Reference in New Issue
Block a user