mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Update README.md
This commit is contained in:
parent
89a1526501
commit
1069ae3539
61
README.md
61
README.md
@ -3,13 +3,13 @@ Compile A Statically Linked PHP With Swoole and other Extensions. [English READM
|
|||||||
|
|
||||||
编译纯静态的 PHP Binary 二进制文件,带有各种扩展(CLI 模式,暂不支持 CGI 和 FPM 模式)
|
编译纯静态的 PHP Binary 二进制文件,带有各种扩展(CLI 模式,暂不支持 CGI 和 FPM 模式)
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
|
||||||
## 环境需求
|
## 环境需求
|
||||||
- 目前在 x86_64 和 aarch64(arm64) 架构上编译成功,其他架构需自行测试
|
- 目前在 x86_64 和 aarch64(arm64) 架构上编译成功,其他架构需自行测试
|
||||||
- 需要 Alpine Linux(测试环境为 3.13 版本,其他版本未测试)系统(也就是说需要 musl)
|
- 需要 Alpine Linux(测试环境为 3.13 版本,其他版本未测试)系统(也就是说需要 musl)或 Docker(Dockerfile 正在完善)
|
||||||
- WSL2 也是支持的
|
- WSL2 也是支持的
|
||||||
- 脚本支持编译的 PHP 版本 >= 7.2
|
- 脚本支持编译的 PHP 版本(7.2 ~ 8.0)
|
||||||
|
|
||||||
## 开始
|
## 开始
|
||||||
可以直接在旁边的 Release 中下载编译好的二进制,也可以自己编译。
|
可以直接在旁边的 Release 中下载编译好的二进制,也可以自己编译。
|
||||||
@ -28,33 +28,34 @@ Compile A Statically Linked PHP With Swoole and other Extensions. [English READM
|
|||||||
- libxml2: 2.9.10
|
- libxml2: 2.9.10
|
||||||
- curl: 7.76.1
|
- curl: 7.76.1
|
||||||
|
|
||||||
## 包含扩展
|
## 支持的扩展(对勾为已支持的扩展,未打勾的正在努力兼容)
|
||||||
- bcmath
|
- [X] bcmath
|
||||||
- calendar
|
- [X] calendar
|
||||||
- ctype
|
- [X] ctype
|
||||||
- filter
|
- [X] filter
|
||||||
- openssl
|
- [X] openssl
|
||||||
- pcntl
|
- [X] pcntl
|
||||||
- iconv
|
- [X] iconv
|
||||||
- inotify (3.0.0)
|
- [X] inotify
|
||||||
- json
|
- [X] json
|
||||||
- mbstring
|
- [X] mbstring
|
||||||
- phar
|
- [X] phar
|
||||||
- curl
|
- [X] curl
|
||||||
- pdo
|
- [X] pdo
|
||||||
- gd
|
- [X] gd
|
||||||
- pdo_mysql
|
- [X] pdo_mysql
|
||||||
- mysqlnd
|
- [X] mysqlnd
|
||||||
- sockets
|
- [X] sockets
|
||||||
- swoole (4.6.6)
|
- [X] swoole
|
||||||
- redis (5.3.4)
|
- [X] redis
|
||||||
- simplexml
|
- [X] simplexml
|
||||||
- dom
|
- [X] dom
|
||||||
- xml
|
- [X] xml
|
||||||
- xmlwriter
|
- [X] xmlwriter
|
||||||
- xmlreader
|
- [X] xmlreader
|
||||||
- posix
|
- [X] posix
|
||||||
- tokenizer
|
- [X] tokenizer
|
||||||
|
- [ ] zip
|
||||||
|
|
||||||
## 运行示例
|
## 运行示例
|
||||||
编译后的状态
|
编译后的状态
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user