mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Update README-en.md [skip ci]
This commit is contained in:
parent
b6d1ecf0e5
commit
e3bc589d4b
10
README-en.md
10
README-en.md
@ -3,12 +3,12 @@ Compile A Statically Linked PHP With Swoole and other Extensions.
|
||||
|
||||
BTW, It's only for CLI mode.
|
||||
|
||||
[]()
|
||||
[]()
|
||||

|
||||
|
||||
## Compilation Requirements
|
||||
- Tested on `x86_64` and `aarch64` platform, others have not tested.
|
||||
- Docker required (or alpine linux 3.12+)
|
||||
- Supporting architecture: `x86_64`, `arm64(aarch64)`, `armv7(armv7l)`
|
||||
- Docker required (or alpine linux 3.13+)
|
||||
- Supporting PHP version from 7.2 to 8.1
|
||||
|
||||
## Running Requirements
|
||||
@ -17,13 +17,13 @@ Linux
|
||||
## Start
|
||||
You can directly download static binary from this link.
|
||||
|
||||
<https://dl.zhamao.me/php-bin/file/>
|
||||
<https://dl.zhamao.xin/php-bin/file/>
|
||||
|
||||
Here's help command to compile it yourself:
|
||||
```bash
|
||||
git clone https://github.com/crazywhalecc/static-php-cli.git
|
||||
cd static-php-cli/docker
|
||||
docker build -t static-php . --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.4.23
|
||||
docker build -t static-php . --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.4.28
|
||||
```
|
||||
|
||||
After compilation you can use command to get static php binary file:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user