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
f8a16ce6c0
commit
7a5612ec2b
@ -3,7 +3,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
|
||||||
@ -32,7 +32,7 @@ bash -c "`curl -fsSL https://raw.githubusercontent.com/crazywhalecc/static-php-c
|
|||||||
```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 . --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.4.28
|
docker build -t static-php . --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.4.29
|
||||||
```
|
```
|
||||||
|
|
||||||
After compilation you can use command to get static php binary file:
|
After compilation you can use command to get static php binary file:
|
||||||
@ -88,7 +88,7 @@ To customize PHP extensions, edit `docker/extensions.txt` file, and rules below:
|
|||||||
| yes | xml | * | |
|
| yes | xml | * | |
|
||||||
| yes | xmlreader | * | |
|
| yes | xmlreader | * | |
|
||||||
| yes | xmlwriter | * | |
|
| yes | xmlwriter | * | |
|
||||||
| | zip | | |
|
| yes | zip | * | not support `bzip2`, `lzma` compression |
|
||||||
| yes | zlib | * | |
|
| yes | zlib | * | |
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user