mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Update README-en.md
This commit is contained in:
parent
e2f5593d91
commit
8667351378
@ -4,6 +4,7 @@ Compile A Statically Linked PHP With Swoole and other Extensions.
|
|||||||
BTW, It's only for CLI mode.
|
BTW, It's only for CLI mode.
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|

|
||||||
|
|
||||||
## Compilation Requirements
|
## Compilation Requirements
|
||||||
- Tested on `x86_64` and `aarch64` platform, others have not tested.
|
- Tested on `x86_64` and `aarch64` platform, others have not tested.
|
||||||
@ -14,13 +15,15 @@ BTW, It's only for CLI mode.
|
|||||||
Linux
|
Linux
|
||||||
|
|
||||||
## Start
|
## Start
|
||||||
You can directly download static binary in Release.
|
You can directly download static binary from this link.
|
||||||
|
|
||||||
|
<https://dl.zhamao.me/php-bin/file/>
|
||||||
|
|
||||||
Here's help command to compile it yourself:
|
Here's help command to compile it yourself:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/crazywhalecc/static-php-cli.git
|
git clone https://github.com/crazywhalecc/static-php-cli.git
|
||||||
cd static-php-cli/docker
|
cd static-php-cli/docker
|
||||||
docker build -t static-php .
|
docker build -t static-php . --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.4.23
|
||||||
```
|
```
|
||||||
|
|
||||||
After compilation you can use command to get static php binary file:
|
After compilation you can use command to get static php binary file:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user