Update README-en.md [skip ci]

This commit is contained in:
Jerry Ma 2022-04-02 16:50:43 +08:00 committed by GitHub
parent b6d1ecf0e5
commit e3bc589d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,12 +3,12 @@ Compile A Statically Linked PHP With Swoole and other Extensions.
BTW, It's only for CLI mode.
[![version](https://img.shields.io/badge/version-1.3.3-green.svg)]()
[![version](https://img.shields.io/badge/version-1.4.0-green.svg)]()
![Build Actions](https://github.com/crazywhalecc/static-php-cli/actions/workflows/build-php.yml/badge.svg)
## 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: